Bulk_UnityEngine.Physics2DModule_0.cpp 103 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569
  1. #include "il2cpp-config.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <cstring>
  8. #include <string.h>
  9. #include <stdio.h>
  10. #include <cmath>
  11. #include <limits>
  12. #include <assert.h>
  13. #include <stdint.h>
  14. #include "il2cpp-class-internals.h"
  15. #include "codegen/il2cpp-codegen.h"
  16. #include "il2cpp-object-internals.h"
  17. // UnityEngine.RaycastHit2D[]
  18. struct RaycastHit2DU5BU5D_t4286651560;
  19. // System.Collections.Generic.List`1<UnityEngine.Rigidbody2D>
  20. struct List_1_t2411569343;
  21. // System.Collections.Generic.List`1<System.Object>
  22. struct List_1_t257213610;
  23. // UnityEngine.Rigidbody2D[]
  24. struct Rigidbody2DU5BU5D_t385786356;
  25. // System.String
  26. struct String_t;
  27. // System.Void
  28. struct Void_t1185182177;
  29. // UnityEngine.ContactPoint2D[]
  30. struct ContactPoint2DU5BU5D_t96683501;
  31. // UnityEngine.Collider2D
  32. struct Collider2D_t2806799626;
  33. extern RuntimeClass* ContactPoint2DU5BU5D_t96683501_il2cpp_TypeInfo_var;
  34. extern const uint32_t Collision2D_t2842956331_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
  35. extern const uint32_t Collision2D_t2842956331_com_FromNativeMethodDefinition_MetadataUsageId;
  36. extern RuntimeClass* Mathf_t3464937446_il2cpp_TypeInfo_var;
  37. extern const uint32_t ContactFilter2D_CheckConsistency_m222060761_MetadataUsageId;
  38. extern RuntimeClass* Physics2D_t1528932956_il2cpp_TypeInfo_var;
  39. extern const uint32_t ContactFilter2D_CreateLegacyFilter_m1873816896_MetadataUsageId;
  40. extern const uint32_t Physics2D_Raycast_m1728056151_MetadataUsageId;
  41. extern const uint32_t Physics2D_Raycast_m2858866636_MetadataUsageId;
  42. extern const uint32_t Physics2D_Raycast_m2082490717_MetadataUsageId;
  43. extern const uint32_t Physics2D_Raycast_m2341153778_MetadataUsageId;
  44. extern const uint32_t Physics2D_Raycast_m1407159225_MetadataUsageId;
  45. extern const uint32_t Physics2D_Raycast_m1377762210_MetadataUsageId;
  46. extern const uint32_t Physics2D_Raycast_m1700114981_MetadataUsageId;
  47. extern const uint32_t Physics2D_Internal_Raycast_m1768014582_MetadataUsageId;
  48. extern const uint32_t Physics2D_Internal_RaycastNonAlloc_m3815006984_MetadataUsageId;
  49. extern const uint32_t Physics2D_GetRayIntersectionAll_m2567878449_MetadataUsageId;
  50. extern const uint32_t Physics2D_GetRayIntersectionAll_m1670084419_MetadataUsageId;
  51. extern const uint32_t Physics2D_GetRayIntersectionAll_m1507505063_MetadataUsageId;
  52. extern RuntimeClass* List_1_t2411569343_il2cpp_TypeInfo_var;
  53. extern const RuntimeMethod* List_1__ctor_m2466177744_RuntimeMethod_var;
  54. extern const uint32_t Physics2D__cctor_m143866755_MetadataUsageId;
  55. struct ContactPoint2D_t3390240644 ;
  56. struct ContactPoint2DU5BU5D_t96683501;
  57. struct RaycastHit2DU5BU5D_t4286651560;
  58. #ifndef RUNTIMEOBJECT_H
  59. #define RUNTIMEOBJECT_H
  60. #ifdef __clang__
  61. #pragma clang diagnostic push
  62. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  63. #pragma clang diagnostic ignored "-Wunused-variable"
  64. #endif
  65. // System.Object
  66. #ifdef __clang__
  67. #pragma clang diagnostic pop
  68. #endif
  69. #endif // RUNTIMEOBJECT_H
  70. #ifndef U3CMODULEU3E_T692745537_H
  71. #define U3CMODULEU3E_T692745537_H
  72. #ifdef __clang__
  73. #pragma clang diagnostic push
  74. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  75. #pragma clang diagnostic ignored "-Wunused-variable"
  76. #endif
  77. // <Module>
  78. struct U3CModuleU3E_t692745537
  79. {
  80. public:
  81. public:
  82. };
  83. #ifdef __clang__
  84. #pragma clang diagnostic pop
  85. #endif
  86. #endif // U3CMODULEU3E_T692745537_H
  87. #ifndef PHYSICS2D_T1528932956_H
  88. #define PHYSICS2D_T1528932956_H
  89. #ifdef __clang__
  90. #pragma clang diagnostic push
  91. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  92. #pragma clang diagnostic ignored "-Wunused-variable"
  93. #endif
  94. // UnityEngine.Physics2D
  95. struct Physics2D_t1528932956 : public RuntimeObject
  96. {
  97. public:
  98. public:
  99. };
  100. struct Physics2D_t1528932956_StaticFields
  101. {
  102. public:
  103. // System.Collections.Generic.List`1<UnityEngine.Rigidbody2D> UnityEngine.Physics2D::m_LastDisabledRigidbody2D
  104. List_1_t2411569343 * ___m_LastDisabledRigidbody2D_0;
  105. public:
  106. inline static int32_t get_offset_of_m_LastDisabledRigidbody2D_0() { return static_cast<int32_t>(offsetof(Physics2D_t1528932956_StaticFields, ___m_LastDisabledRigidbody2D_0)); }
  107. inline List_1_t2411569343 * get_m_LastDisabledRigidbody2D_0() const { return ___m_LastDisabledRigidbody2D_0; }
  108. inline List_1_t2411569343 ** get_address_of_m_LastDisabledRigidbody2D_0() { return &___m_LastDisabledRigidbody2D_0; }
  109. inline void set_m_LastDisabledRigidbody2D_0(List_1_t2411569343 * value)
  110. {
  111. ___m_LastDisabledRigidbody2D_0 = value;
  112. Il2CppCodeGenWriteBarrier((&___m_LastDisabledRigidbody2D_0), value);
  113. }
  114. };
  115. #ifdef __clang__
  116. #pragma clang diagnostic pop
  117. #endif
  118. #endif // PHYSICS2D_T1528932956_H
  119. #ifndef LIST_1_T2411569343_H
  120. #define LIST_1_T2411569343_H
  121. #ifdef __clang__
  122. #pragma clang diagnostic push
  123. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  124. #pragma clang diagnostic ignored "-Wunused-variable"
  125. #endif
  126. // System.Collections.Generic.List`1<UnityEngine.Rigidbody2D>
  127. struct List_1_t2411569343 : public RuntimeObject
  128. {
  129. public:
  130. // T[] System.Collections.Generic.List`1::_items
  131. Rigidbody2DU5BU5D_t385786356* ____items_1;
  132. // System.Int32 System.Collections.Generic.List`1::_size
  133. int32_t ____size_2;
  134. // System.Int32 System.Collections.Generic.List`1::_version
  135. int32_t ____version_3;
  136. public:
  137. inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t2411569343, ____items_1)); }
  138. inline Rigidbody2DU5BU5D_t385786356* get__items_1() const { return ____items_1; }
  139. inline Rigidbody2DU5BU5D_t385786356** get_address_of__items_1() { return &____items_1; }
  140. inline void set__items_1(Rigidbody2DU5BU5D_t385786356* value)
  141. {
  142. ____items_1 = value;
  143. Il2CppCodeGenWriteBarrier((&____items_1), value);
  144. }
  145. inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t2411569343, ____size_2)); }
  146. inline int32_t get__size_2() const { return ____size_2; }
  147. inline int32_t* get_address_of__size_2() { return &____size_2; }
  148. inline void set__size_2(int32_t value)
  149. {
  150. ____size_2 = value;
  151. }
  152. inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t2411569343, ____version_3)); }
  153. inline int32_t get__version_3() const { return ____version_3; }
  154. inline int32_t* get_address_of__version_3() { return &____version_3; }
  155. inline void set__version_3(int32_t value)
  156. {
  157. ____version_3 = value;
  158. }
  159. };
  160. struct List_1_t2411569343_StaticFields
  161. {
  162. public:
  163. // T[] System.Collections.Generic.List`1::EmptyArray
  164. Rigidbody2DU5BU5D_t385786356* ___EmptyArray_4;
  165. public:
  166. inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t2411569343_StaticFields, ___EmptyArray_4)); }
  167. inline Rigidbody2DU5BU5D_t385786356* get_EmptyArray_4() const { return ___EmptyArray_4; }
  168. inline Rigidbody2DU5BU5D_t385786356** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
  169. inline void set_EmptyArray_4(Rigidbody2DU5BU5D_t385786356* value)
  170. {
  171. ___EmptyArray_4 = value;
  172. Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
  173. }
  174. };
  175. #ifdef __clang__
  176. #pragma clang diagnostic pop
  177. #endif
  178. #endif // LIST_1_T2411569343_H
  179. struct Il2CppArrayBounds;
  180. #ifndef RUNTIMEARRAY_H
  181. #define RUNTIMEARRAY_H
  182. #ifdef __clang__
  183. #pragma clang diagnostic push
  184. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  185. #pragma clang diagnostic ignored "-Wunused-variable"
  186. #endif
  187. // System.Array
  188. #ifdef __clang__
  189. #pragma clang diagnostic pop
  190. #endif
  191. #endif // RUNTIMEARRAY_H
  192. #ifndef VALUETYPE_T3640485471_H
  193. #define VALUETYPE_T3640485471_H
  194. #ifdef __clang__
  195. #pragma clang diagnostic push
  196. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  197. #pragma clang diagnostic ignored "-Wunused-variable"
  198. #endif
  199. // System.ValueType
  200. struct ValueType_t3640485471 : public RuntimeObject
  201. {
  202. public:
  203. public:
  204. };
  205. #ifdef __clang__
  206. #pragma clang diagnostic pop
  207. #endif
  208. // Native definition for P/Invoke marshalling of System.ValueType
  209. struct ValueType_t3640485471_marshaled_pinvoke
  210. {
  211. };
  212. // Native definition for COM marshalling of System.ValueType
  213. struct ValueType_t3640485471_marshaled_com
  214. {
  215. };
  216. #endif // VALUETYPE_T3640485471_H
  217. #ifndef VECTOR3_T3722313464_H
  218. #define VECTOR3_T3722313464_H
  219. #ifdef __clang__
  220. #pragma clang diagnostic push
  221. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  222. #pragma clang diagnostic ignored "-Wunused-variable"
  223. #endif
  224. // UnityEngine.Vector3
  225. struct Vector3_t3722313464
  226. {
  227. public:
  228. // System.Single UnityEngine.Vector3::x
  229. float ___x_1;
  230. // System.Single UnityEngine.Vector3::y
  231. float ___y_2;
  232. // System.Single UnityEngine.Vector3::z
  233. float ___z_3;
  234. public:
  235. inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___x_1)); }
  236. inline float get_x_1() const { return ___x_1; }
  237. inline float* get_address_of_x_1() { return &___x_1; }
  238. inline void set_x_1(float value)
  239. {
  240. ___x_1 = value;
  241. }
  242. inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___y_2)); }
  243. inline float get_y_2() const { return ___y_2; }
  244. inline float* get_address_of_y_2() { return &___y_2; }
  245. inline void set_y_2(float value)
  246. {
  247. ___y_2 = value;
  248. }
  249. inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___z_3)); }
  250. inline float get_z_3() const { return ___z_3; }
  251. inline float* get_address_of_z_3() { return &___z_3; }
  252. inline void set_z_3(float value)
  253. {
  254. ___z_3 = value;
  255. }
  256. };
  257. struct Vector3_t3722313464_StaticFields
  258. {
  259. public:
  260. // UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
  261. Vector3_t3722313464 ___zeroVector_4;
  262. // UnityEngine.Vector3 UnityEngine.Vector3::oneVector
  263. Vector3_t3722313464 ___oneVector_5;
  264. // UnityEngine.Vector3 UnityEngine.Vector3::upVector
  265. Vector3_t3722313464 ___upVector_6;
  266. // UnityEngine.Vector3 UnityEngine.Vector3::downVector
  267. Vector3_t3722313464 ___downVector_7;
  268. // UnityEngine.Vector3 UnityEngine.Vector3::leftVector
  269. Vector3_t3722313464 ___leftVector_8;
  270. // UnityEngine.Vector3 UnityEngine.Vector3::rightVector
  271. Vector3_t3722313464 ___rightVector_9;
  272. // UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
  273. Vector3_t3722313464 ___forwardVector_10;
  274. // UnityEngine.Vector3 UnityEngine.Vector3::backVector
  275. Vector3_t3722313464 ___backVector_11;
  276. // UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
  277. Vector3_t3722313464 ___positiveInfinityVector_12;
  278. // UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
  279. Vector3_t3722313464 ___negativeInfinityVector_13;
  280. public:
  281. inline static int32_t get_offset_of_zeroVector_4() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___zeroVector_4)); }
  282. inline Vector3_t3722313464 get_zeroVector_4() const { return ___zeroVector_4; }
  283. inline Vector3_t3722313464 * get_address_of_zeroVector_4() { return &___zeroVector_4; }
  284. inline void set_zeroVector_4(Vector3_t3722313464 value)
  285. {
  286. ___zeroVector_4 = value;
  287. }
  288. inline static int32_t get_offset_of_oneVector_5() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___oneVector_5)); }
  289. inline Vector3_t3722313464 get_oneVector_5() const { return ___oneVector_5; }
  290. inline Vector3_t3722313464 * get_address_of_oneVector_5() { return &___oneVector_5; }
  291. inline void set_oneVector_5(Vector3_t3722313464 value)
  292. {
  293. ___oneVector_5 = value;
  294. }
  295. inline static int32_t get_offset_of_upVector_6() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___upVector_6)); }
  296. inline Vector3_t3722313464 get_upVector_6() const { return ___upVector_6; }
  297. inline Vector3_t3722313464 * get_address_of_upVector_6() { return &___upVector_6; }
  298. inline void set_upVector_6(Vector3_t3722313464 value)
  299. {
  300. ___upVector_6 = value;
  301. }
  302. inline static int32_t get_offset_of_downVector_7() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___downVector_7)); }
  303. inline Vector3_t3722313464 get_downVector_7() const { return ___downVector_7; }
  304. inline Vector3_t3722313464 * get_address_of_downVector_7() { return &___downVector_7; }
  305. inline void set_downVector_7(Vector3_t3722313464 value)
  306. {
  307. ___downVector_7 = value;
  308. }
  309. inline static int32_t get_offset_of_leftVector_8() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___leftVector_8)); }
  310. inline Vector3_t3722313464 get_leftVector_8() const { return ___leftVector_8; }
  311. inline Vector3_t3722313464 * get_address_of_leftVector_8() { return &___leftVector_8; }
  312. inline void set_leftVector_8(Vector3_t3722313464 value)
  313. {
  314. ___leftVector_8 = value;
  315. }
  316. inline static int32_t get_offset_of_rightVector_9() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___rightVector_9)); }
  317. inline Vector3_t3722313464 get_rightVector_9() const { return ___rightVector_9; }
  318. inline Vector3_t3722313464 * get_address_of_rightVector_9() { return &___rightVector_9; }
  319. inline void set_rightVector_9(Vector3_t3722313464 value)
  320. {
  321. ___rightVector_9 = value;
  322. }
  323. inline static int32_t get_offset_of_forwardVector_10() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___forwardVector_10)); }
  324. inline Vector3_t3722313464 get_forwardVector_10() const { return ___forwardVector_10; }
  325. inline Vector3_t3722313464 * get_address_of_forwardVector_10() { return &___forwardVector_10; }
  326. inline void set_forwardVector_10(Vector3_t3722313464 value)
  327. {
  328. ___forwardVector_10 = value;
  329. }
  330. inline static int32_t get_offset_of_backVector_11() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___backVector_11)); }
  331. inline Vector3_t3722313464 get_backVector_11() const { return ___backVector_11; }
  332. inline Vector3_t3722313464 * get_address_of_backVector_11() { return &___backVector_11; }
  333. inline void set_backVector_11(Vector3_t3722313464 value)
  334. {
  335. ___backVector_11 = value;
  336. }
  337. inline static int32_t get_offset_of_positiveInfinityVector_12() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___positiveInfinityVector_12)); }
  338. inline Vector3_t3722313464 get_positiveInfinityVector_12() const { return ___positiveInfinityVector_12; }
  339. inline Vector3_t3722313464 * get_address_of_positiveInfinityVector_12() { return &___positiveInfinityVector_12; }
  340. inline void set_positiveInfinityVector_12(Vector3_t3722313464 value)
  341. {
  342. ___positiveInfinityVector_12 = value;
  343. }
  344. inline static int32_t get_offset_of_negativeInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___negativeInfinityVector_13)); }
  345. inline Vector3_t3722313464 get_negativeInfinityVector_13() const { return ___negativeInfinityVector_13; }
  346. inline Vector3_t3722313464 * get_address_of_negativeInfinityVector_13() { return &___negativeInfinityVector_13; }
  347. inline void set_negativeInfinityVector_13(Vector3_t3722313464 value)
  348. {
  349. ___negativeInfinityVector_13 = value;
  350. }
  351. };
  352. #ifdef __clang__
  353. #pragma clang diagnostic pop
  354. #endif
  355. #endif // VECTOR3_T3722313464_H
  356. #ifndef INT32_T2950945753_H
  357. #define INT32_T2950945753_H
  358. #ifdef __clang__
  359. #pragma clang diagnostic push
  360. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  361. #pragma clang diagnostic ignored "-Wunused-variable"
  362. #endif
  363. // System.Int32
  364. struct Int32_t2950945753
  365. {
  366. public:
  367. // System.Int32 System.Int32::m_value
  368. int32_t ___m_value_2;
  369. public:
  370. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
  371. inline int32_t get_m_value_2() const { return ___m_value_2; }
  372. inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
  373. inline void set_m_value_2(int32_t value)
  374. {
  375. ___m_value_2 = value;
  376. }
  377. };
  378. #ifdef __clang__
  379. #pragma clang diagnostic pop
  380. #endif
  381. #endif // INT32_T2950945753_H
  382. #ifndef BOOLEAN_T97287965_H
  383. #define BOOLEAN_T97287965_H
  384. #ifdef __clang__
  385. #pragma clang diagnostic push
  386. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  387. #pragma clang diagnostic ignored "-Wunused-variable"
  388. #endif
  389. // System.Boolean
  390. struct Boolean_t97287965
  391. {
  392. public:
  393. // System.Boolean System.Boolean::m_value
  394. bool ___m_value_2;
  395. public:
  396. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_2)); }
  397. inline bool get_m_value_2() const { return ___m_value_2; }
  398. inline bool* get_address_of_m_value_2() { return &___m_value_2; }
  399. inline void set_m_value_2(bool value)
  400. {
  401. ___m_value_2 = value;
  402. }
  403. };
  404. struct Boolean_t97287965_StaticFields
  405. {
  406. public:
  407. // System.String System.Boolean::FalseString
  408. String_t* ___FalseString_0;
  409. // System.String System.Boolean::TrueString
  410. String_t* ___TrueString_1;
  411. public:
  412. inline static int32_t get_offset_of_FalseString_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_0)); }
  413. inline String_t* get_FalseString_0() const { return ___FalseString_0; }
  414. inline String_t** get_address_of_FalseString_0() { return &___FalseString_0; }
  415. inline void set_FalseString_0(String_t* value)
  416. {
  417. ___FalseString_0 = value;
  418. Il2CppCodeGenWriteBarrier((&___FalseString_0), value);
  419. }
  420. inline static int32_t get_offset_of_TrueString_1() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_1)); }
  421. inline String_t* get_TrueString_1() const { return ___TrueString_1; }
  422. inline String_t** get_address_of_TrueString_1() { return &___TrueString_1; }
  423. inline void set_TrueString_1(String_t* value)
  424. {
  425. ___TrueString_1 = value;
  426. Il2CppCodeGenWriteBarrier((&___TrueString_1), value);
  427. }
  428. };
  429. #ifdef __clang__
  430. #pragma clang diagnostic pop
  431. #endif
  432. #endif // BOOLEAN_T97287965_H
  433. #ifndef SINGLE_T1397266774_H
  434. #define SINGLE_T1397266774_H
  435. #ifdef __clang__
  436. #pragma clang diagnostic push
  437. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  438. #pragma clang diagnostic ignored "-Wunused-variable"
  439. #endif
  440. // System.Single
  441. struct Single_t1397266774
  442. {
  443. public:
  444. // System.Single System.Single::m_value
  445. float ___m_value_7;
  446. public:
  447. inline static int32_t get_offset_of_m_value_7() { return static_cast<int32_t>(offsetof(Single_t1397266774, ___m_value_7)); }
  448. inline float get_m_value_7() const { return ___m_value_7; }
  449. inline float* get_address_of_m_value_7() { return &___m_value_7; }
  450. inline void set_m_value_7(float value)
  451. {
  452. ___m_value_7 = value;
  453. }
  454. };
  455. #ifdef __clang__
  456. #pragma clang diagnostic pop
  457. #endif
  458. #endif // SINGLE_T1397266774_H
  459. #ifndef INTPTR_T_H
  460. #define INTPTR_T_H
  461. #ifdef __clang__
  462. #pragma clang diagnostic push
  463. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  464. #pragma clang diagnostic ignored "-Wunused-variable"
  465. #endif
  466. // System.IntPtr
  467. struct IntPtr_t
  468. {
  469. public:
  470. // System.Void* System.IntPtr::m_value
  471. void* ___m_value_0;
  472. public:
  473. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  474. inline void* get_m_value_0() const { return ___m_value_0; }
  475. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  476. inline void set_m_value_0(void* value)
  477. {
  478. ___m_value_0 = value;
  479. }
  480. };
  481. struct IntPtr_t_StaticFields
  482. {
  483. public:
  484. // System.IntPtr System.IntPtr::Zero
  485. intptr_t ___Zero_1;
  486. public:
  487. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  488. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  489. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  490. inline void set_Zero_1(intptr_t value)
  491. {
  492. ___Zero_1 = value;
  493. }
  494. };
  495. #ifdef __clang__
  496. #pragma clang diagnostic pop
  497. #endif
  498. #endif // INTPTR_T_H
  499. #ifndef VECTOR2_T2156229523_H
  500. #define VECTOR2_T2156229523_H
  501. #ifdef __clang__
  502. #pragma clang diagnostic push
  503. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  504. #pragma clang diagnostic ignored "-Wunused-variable"
  505. #endif
  506. // UnityEngine.Vector2
  507. struct Vector2_t2156229523
  508. {
  509. public:
  510. // System.Single UnityEngine.Vector2::x
  511. float ___x_0;
  512. // System.Single UnityEngine.Vector2::y
  513. float ___y_1;
  514. public:
  515. inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Vector2_t2156229523, ___x_0)); }
  516. inline float get_x_0() const { return ___x_0; }
  517. inline float* get_address_of_x_0() { return &___x_0; }
  518. inline void set_x_0(float value)
  519. {
  520. ___x_0 = value;
  521. }
  522. inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Vector2_t2156229523, ___y_1)); }
  523. inline float get_y_1() const { return ___y_1; }
  524. inline float* get_address_of_y_1() { return &___y_1; }
  525. inline void set_y_1(float value)
  526. {
  527. ___y_1 = value;
  528. }
  529. };
  530. struct Vector2_t2156229523_StaticFields
  531. {
  532. public:
  533. // UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
  534. Vector2_t2156229523 ___zeroVector_2;
  535. // UnityEngine.Vector2 UnityEngine.Vector2::oneVector
  536. Vector2_t2156229523 ___oneVector_3;
  537. // UnityEngine.Vector2 UnityEngine.Vector2::upVector
  538. Vector2_t2156229523 ___upVector_4;
  539. // UnityEngine.Vector2 UnityEngine.Vector2::downVector
  540. Vector2_t2156229523 ___downVector_5;
  541. // UnityEngine.Vector2 UnityEngine.Vector2::leftVector
  542. Vector2_t2156229523 ___leftVector_6;
  543. // UnityEngine.Vector2 UnityEngine.Vector2::rightVector
  544. Vector2_t2156229523 ___rightVector_7;
  545. // UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
  546. Vector2_t2156229523 ___positiveInfinityVector_8;
  547. // UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
  548. Vector2_t2156229523 ___negativeInfinityVector_9;
  549. public:
  550. inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___zeroVector_2)); }
  551. inline Vector2_t2156229523 get_zeroVector_2() const { return ___zeroVector_2; }
  552. inline Vector2_t2156229523 * get_address_of_zeroVector_2() { return &___zeroVector_2; }
  553. inline void set_zeroVector_2(Vector2_t2156229523 value)
  554. {
  555. ___zeroVector_2 = value;
  556. }
  557. inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___oneVector_3)); }
  558. inline Vector2_t2156229523 get_oneVector_3() const { return ___oneVector_3; }
  559. inline Vector2_t2156229523 * get_address_of_oneVector_3() { return &___oneVector_3; }
  560. inline void set_oneVector_3(Vector2_t2156229523 value)
  561. {
  562. ___oneVector_3 = value;
  563. }
  564. inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___upVector_4)); }
  565. inline Vector2_t2156229523 get_upVector_4() const { return ___upVector_4; }
  566. inline Vector2_t2156229523 * get_address_of_upVector_4() { return &___upVector_4; }
  567. inline void set_upVector_4(Vector2_t2156229523 value)
  568. {
  569. ___upVector_4 = value;
  570. }
  571. inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___downVector_5)); }
  572. inline Vector2_t2156229523 get_downVector_5() const { return ___downVector_5; }
  573. inline Vector2_t2156229523 * get_address_of_downVector_5() { return &___downVector_5; }
  574. inline void set_downVector_5(Vector2_t2156229523 value)
  575. {
  576. ___downVector_5 = value;
  577. }
  578. inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___leftVector_6)); }
  579. inline Vector2_t2156229523 get_leftVector_6() const { return ___leftVector_6; }
  580. inline Vector2_t2156229523 * get_address_of_leftVector_6() { return &___leftVector_6; }
  581. inline void set_leftVector_6(Vector2_t2156229523 value)
  582. {
  583. ___leftVector_6 = value;
  584. }
  585. inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___rightVector_7)); }
  586. inline Vector2_t2156229523 get_rightVector_7() const { return ___rightVector_7; }
  587. inline Vector2_t2156229523 * get_address_of_rightVector_7() { return &___rightVector_7; }
  588. inline void set_rightVector_7(Vector2_t2156229523 value)
  589. {
  590. ___rightVector_7 = value;
  591. }
  592. inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___positiveInfinityVector_8)); }
  593. inline Vector2_t2156229523 get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; }
  594. inline Vector2_t2156229523 * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; }
  595. inline void set_positiveInfinityVector_8(Vector2_t2156229523 value)
  596. {
  597. ___positiveInfinityVector_8 = value;
  598. }
  599. inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___negativeInfinityVector_9)); }
  600. inline Vector2_t2156229523 get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; }
  601. inline Vector2_t2156229523 * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; }
  602. inline void set_negativeInfinityVector_9(Vector2_t2156229523 value)
  603. {
  604. ___negativeInfinityVector_9 = value;
  605. }
  606. };
  607. #ifdef __clang__
  608. #pragma clang diagnostic pop
  609. #endif
  610. #endif // VECTOR2_T2156229523_H
  611. #ifndef LAYERMASK_T3493934918_H
  612. #define LAYERMASK_T3493934918_H
  613. #ifdef __clang__
  614. #pragma clang diagnostic push
  615. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  616. #pragma clang diagnostic ignored "-Wunused-variable"
  617. #endif
  618. // UnityEngine.LayerMask
  619. struct LayerMask_t3493934918
  620. {
  621. public:
  622. // System.Int32 UnityEngine.LayerMask::m_Mask
  623. int32_t ___m_Mask_0;
  624. public:
  625. inline static int32_t get_offset_of_m_Mask_0() { return static_cast<int32_t>(offsetof(LayerMask_t3493934918, ___m_Mask_0)); }
  626. inline int32_t get_m_Mask_0() const { return ___m_Mask_0; }
  627. inline int32_t* get_address_of_m_Mask_0() { return &___m_Mask_0; }
  628. inline void set_m_Mask_0(int32_t value)
  629. {
  630. ___m_Mask_0 = value;
  631. }
  632. };
  633. #ifdef __clang__
  634. #pragma clang diagnostic pop
  635. #endif
  636. #endif // LAYERMASK_T3493934918_H
  637. #ifndef VOID_T1185182177_H
  638. #define VOID_T1185182177_H
  639. #ifdef __clang__
  640. #pragma clang diagnostic push
  641. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  642. #pragma clang diagnostic ignored "-Wunused-variable"
  643. #endif
  644. // System.Void
  645. struct Void_t1185182177
  646. {
  647. public:
  648. public:
  649. };
  650. #ifdef __clang__
  651. #pragma clang diagnostic pop
  652. #endif
  653. #endif // VOID_T1185182177_H
  654. #ifndef CONTACTFILTER2D_T3805203441_H
  655. #define CONTACTFILTER2D_T3805203441_H
  656. #ifdef __clang__
  657. #pragma clang diagnostic push
  658. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  659. #pragma clang diagnostic ignored "-Wunused-variable"
  660. #endif
  661. // UnityEngine.ContactFilter2D
  662. struct ContactFilter2D_t3805203441
  663. {
  664. public:
  665. // System.Boolean UnityEngine.ContactFilter2D::useTriggers
  666. bool ___useTriggers_0;
  667. // System.Boolean UnityEngine.ContactFilter2D::useLayerMask
  668. bool ___useLayerMask_1;
  669. // System.Boolean UnityEngine.ContactFilter2D::useDepth
  670. bool ___useDepth_2;
  671. // System.Boolean UnityEngine.ContactFilter2D::useOutsideDepth
  672. bool ___useOutsideDepth_3;
  673. // System.Boolean UnityEngine.ContactFilter2D::useNormalAngle
  674. bool ___useNormalAngle_4;
  675. // System.Boolean UnityEngine.ContactFilter2D::useOutsideNormalAngle
  676. bool ___useOutsideNormalAngle_5;
  677. // UnityEngine.LayerMask UnityEngine.ContactFilter2D::layerMask
  678. LayerMask_t3493934918 ___layerMask_6;
  679. // System.Single UnityEngine.ContactFilter2D::minDepth
  680. float ___minDepth_7;
  681. // System.Single UnityEngine.ContactFilter2D::maxDepth
  682. float ___maxDepth_8;
  683. // System.Single UnityEngine.ContactFilter2D::minNormalAngle
  684. float ___minNormalAngle_9;
  685. // System.Single UnityEngine.ContactFilter2D::maxNormalAngle
  686. float ___maxNormalAngle_10;
  687. public:
  688. inline static int32_t get_offset_of_useTriggers_0() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useTriggers_0)); }
  689. inline bool get_useTriggers_0() const { return ___useTriggers_0; }
  690. inline bool* get_address_of_useTriggers_0() { return &___useTriggers_0; }
  691. inline void set_useTriggers_0(bool value)
  692. {
  693. ___useTriggers_0 = value;
  694. }
  695. inline static int32_t get_offset_of_useLayerMask_1() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useLayerMask_1)); }
  696. inline bool get_useLayerMask_1() const { return ___useLayerMask_1; }
  697. inline bool* get_address_of_useLayerMask_1() { return &___useLayerMask_1; }
  698. inline void set_useLayerMask_1(bool value)
  699. {
  700. ___useLayerMask_1 = value;
  701. }
  702. inline static int32_t get_offset_of_useDepth_2() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useDepth_2)); }
  703. inline bool get_useDepth_2() const { return ___useDepth_2; }
  704. inline bool* get_address_of_useDepth_2() { return &___useDepth_2; }
  705. inline void set_useDepth_2(bool value)
  706. {
  707. ___useDepth_2 = value;
  708. }
  709. inline static int32_t get_offset_of_useOutsideDepth_3() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useOutsideDepth_3)); }
  710. inline bool get_useOutsideDepth_3() const { return ___useOutsideDepth_3; }
  711. inline bool* get_address_of_useOutsideDepth_3() { return &___useOutsideDepth_3; }
  712. inline void set_useOutsideDepth_3(bool value)
  713. {
  714. ___useOutsideDepth_3 = value;
  715. }
  716. inline static int32_t get_offset_of_useNormalAngle_4() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useNormalAngle_4)); }
  717. inline bool get_useNormalAngle_4() const { return ___useNormalAngle_4; }
  718. inline bool* get_address_of_useNormalAngle_4() { return &___useNormalAngle_4; }
  719. inline void set_useNormalAngle_4(bool value)
  720. {
  721. ___useNormalAngle_4 = value;
  722. }
  723. inline static int32_t get_offset_of_useOutsideNormalAngle_5() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___useOutsideNormalAngle_5)); }
  724. inline bool get_useOutsideNormalAngle_5() const { return ___useOutsideNormalAngle_5; }
  725. inline bool* get_address_of_useOutsideNormalAngle_5() { return &___useOutsideNormalAngle_5; }
  726. inline void set_useOutsideNormalAngle_5(bool value)
  727. {
  728. ___useOutsideNormalAngle_5 = value;
  729. }
  730. inline static int32_t get_offset_of_layerMask_6() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___layerMask_6)); }
  731. inline LayerMask_t3493934918 get_layerMask_6() const { return ___layerMask_6; }
  732. inline LayerMask_t3493934918 * get_address_of_layerMask_6() { return &___layerMask_6; }
  733. inline void set_layerMask_6(LayerMask_t3493934918 value)
  734. {
  735. ___layerMask_6 = value;
  736. }
  737. inline static int32_t get_offset_of_minDepth_7() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___minDepth_7)); }
  738. inline float get_minDepth_7() const { return ___minDepth_7; }
  739. inline float* get_address_of_minDepth_7() { return &___minDepth_7; }
  740. inline void set_minDepth_7(float value)
  741. {
  742. ___minDepth_7 = value;
  743. }
  744. inline static int32_t get_offset_of_maxDepth_8() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___maxDepth_8)); }
  745. inline float get_maxDepth_8() const { return ___maxDepth_8; }
  746. inline float* get_address_of_maxDepth_8() { return &___maxDepth_8; }
  747. inline void set_maxDepth_8(float value)
  748. {
  749. ___maxDepth_8 = value;
  750. }
  751. inline static int32_t get_offset_of_minNormalAngle_9() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___minNormalAngle_9)); }
  752. inline float get_minNormalAngle_9() const { return ___minNormalAngle_9; }
  753. inline float* get_address_of_minNormalAngle_9() { return &___minNormalAngle_9; }
  754. inline void set_minNormalAngle_9(float value)
  755. {
  756. ___minNormalAngle_9 = value;
  757. }
  758. inline static int32_t get_offset_of_maxNormalAngle_10() { return static_cast<int32_t>(offsetof(ContactFilter2D_t3805203441, ___maxNormalAngle_10)); }
  759. inline float get_maxNormalAngle_10() const { return ___maxNormalAngle_10; }
  760. inline float* get_address_of_maxNormalAngle_10() { return &___maxNormalAngle_10; }
  761. inline void set_maxNormalAngle_10(float value)
  762. {
  763. ___maxNormalAngle_10 = value;
  764. }
  765. };
  766. #ifdef __clang__
  767. #pragma clang diagnostic pop
  768. #endif
  769. // Native definition for P/Invoke marshalling of UnityEngine.ContactFilter2D
  770. struct ContactFilter2D_t3805203441_marshaled_pinvoke
  771. {
  772. int32_t ___useTriggers_0;
  773. int32_t ___useLayerMask_1;
  774. int32_t ___useDepth_2;
  775. int32_t ___useOutsideDepth_3;
  776. int32_t ___useNormalAngle_4;
  777. int32_t ___useOutsideNormalAngle_5;
  778. LayerMask_t3493934918 ___layerMask_6;
  779. float ___minDepth_7;
  780. float ___maxDepth_8;
  781. float ___minNormalAngle_9;
  782. float ___maxNormalAngle_10;
  783. };
  784. // Native definition for COM marshalling of UnityEngine.ContactFilter2D
  785. struct ContactFilter2D_t3805203441_marshaled_com
  786. {
  787. int32_t ___useTriggers_0;
  788. int32_t ___useLayerMask_1;
  789. int32_t ___useDepth_2;
  790. int32_t ___useOutsideDepth_3;
  791. int32_t ___useNormalAngle_4;
  792. int32_t ___useOutsideNormalAngle_5;
  793. LayerMask_t3493934918 ___layerMask_6;
  794. float ___minDepth_7;
  795. float ___maxDepth_8;
  796. float ___minNormalAngle_9;
  797. float ___maxNormalAngle_10;
  798. };
  799. #endif // CONTACTFILTER2D_T3805203441_H
  800. #ifndef OBJECT_T631007953_H
  801. #define OBJECT_T631007953_H
  802. #ifdef __clang__
  803. #pragma clang diagnostic push
  804. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  805. #pragma clang diagnostic ignored "-Wunused-variable"
  806. #endif
  807. // UnityEngine.Object
  808. struct Object_t631007953 : public RuntimeObject
  809. {
  810. public:
  811. // System.IntPtr UnityEngine.Object::m_CachedPtr
  812. intptr_t ___m_CachedPtr_0;
  813. public:
  814. inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_t631007953, ___m_CachedPtr_0)); }
  815. inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
  816. inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
  817. inline void set_m_CachedPtr_0(intptr_t value)
  818. {
  819. ___m_CachedPtr_0 = value;
  820. }
  821. };
  822. struct Object_t631007953_StaticFields
  823. {
  824. public:
  825. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  826. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  827. public:
  828. inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_t631007953_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
  829. inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
  830. inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
  831. inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
  832. {
  833. ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
  834. }
  835. };
  836. #ifdef __clang__
  837. #pragma clang diagnostic pop
  838. #endif
  839. // Native definition for P/Invoke marshalling of UnityEngine.Object
  840. struct Object_t631007953_marshaled_pinvoke
  841. {
  842. intptr_t ___m_CachedPtr_0;
  843. };
  844. // Native definition for COM marshalling of UnityEngine.Object
  845. struct Object_t631007953_marshaled_com
  846. {
  847. intptr_t ___m_CachedPtr_0;
  848. };
  849. #endif // OBJECT_T631007953_H
  850. #ifndef COLLISION2D_T2842956331_H
  851. #define COLLISION2D_T2842956331_H
  852. #ifdef __clang__
  853. #pragma clang diagnostic push
  854. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  855. #pragma clang diagnostic ignored "-Wunused-variable"
  856. #endif
  857. // UnityEngine.Collision2D
  858. struct Collision2D_t2842956331 : public RuntimeObject
  859. {
  860. public:
  861. // System.Int32 UnityEngine.Collision2D::m_Collider
  862. int32_t ___m_Collider_0;
  863. // System.Int32 UnityEngine.Collision2D::m_OtherCollider
  864. int32_t ___m_OtherCollider_1;
  865. // System.Int32 UnityEngine.Collision2D::m_Rigidbody
  866. int32_t ___m_Rigidbody_2;
  867. // System.Int32 UnityEngine.Collision2D::m_OtherRigidbody
  868. int32_t ___m_OtherRigidbody_3;
  869. // UnityEngine.ContactPoint2D[] UnityEngine.Collision2D::m_Contacts
  870. ContactPoint2DU5BU5D_t96683501* ___m_Contacts_4;
  871. // UnityEngine.Vector2 UnityEngine.Collision2D::m_RelativeVelocity
  872. Vector2_t2156229523 ___m_RelativeVelocity_5;
  873. // System.Int32 UnityEngine.Collision2D::m_Enabled
  874. int32_t ___m_Enabled_6;
  875. public:
  876. inline static int32_t get_offset_of_m_Collider_0() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_Collider_0)); }
  877. inline int32_t get_m_Collider_0() const { return ___m_Collider_0; }
  878. inline int32_t* get_address_of_m_Collider_0() { return &___m_Collider_0; }
  879. inline void set_m_Collider_0(int32_t value)
  880. {
  881. ___m_Collider_0 = value;
  882. }
  883. inline static int32_t get_offset_of_m_OtherCollider_1() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_OtherCollider_1)); }
  884. inline int32_t get_m_OtherCollider_1() const { return ___m_OtherCollider_1; }
  885. inline int32_t* get_address_of_m_OtherCollider_1() { return &___m_OtherCollider_1; }
  886. inline void set_m_OtherCollider_1(int32_t value)
  887. {
  888. ___m_OtherCollider_1 = value;
  889. }
  890. inline static int32_t get_offset_of_m_Rigidbody_2() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_Rigidbody_2)); }
  891. inline int32_t get_m_Rigidbody_2() const { return ___m_Rigidbody_2; }
  892. inline int32_t* get_address_of_m_Rigidbody_2() { return &___m_Rigidbody_2; }
  893. inline void set_m_Rigidbody_2(int32_t value)
  894. {
  895. ___m_Rigidbody_2 = value;
  896. }
  897. inline static int32_t get_offset_of_m_OtherRigidbody_3() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_OtherRigidbody_3)); }
  898. inline int32_t get_m_OtherRigidbody_3() const { return ___m_OtherRigidbody_3; }
  899. inline int32_t* get_address_of_m_OtherRigidbody_3() { return &___m_OtherRigidbody_3; }
  900. inline void set_m_OtherRigidbody_3(int32_t value)
  901. {
  902. ___m_OtherRigidbody_3 = value;
  903. }
  904. inline static int32_t get_offset_of_m_Contacts_4() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_Contacts_4)); }
  905. inline ContactPoint2DU5BU5D_t96683501* get_m_Contacts_4() const { return ___m_Contacts_4; }
  906. inline ContactPoint2DU5BU5D_t96683501** get_address_of_m_Contacts_4() { return &___m_Contacts_4; }
  907. inline void set_m_Contacts_4(ContactPoint2DU5BU5D_t96683501* value)
  908. {
  909. ___m_Contacts_4 = value;
  910. Il2CppCodeGenWriteBarrier((&___m_Contacts_4), value);
  911. }
  912. inline static int32_t get_offset_of_m_RelativeVelocity_5() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_RelativeVelocity_5)); }
  913. inline Vector2_t2156229523 get_m_RelativeVelocity_5() const { return ___m_RelativeVelocity_5; }
  914. inline Vector2_t2156229523 * get_address_of_m_RelativeVelocity_5() { return &___m_RelativeVelocity_5; }
  915. inline void set_m_RelativeVelocity_5(Vector2_t2156229523 value)
  916. {
  917. ___m_RelativeVelocity_5 = value;
  918. }
  919. inline static int32_t get_offset_of_m_Enabled_6() { return static_cast<int32_t>(offsetof(Collision2D_t2842956331, ___m_Enabled_6)); }
  920. inline int32_t get_m_Enabled_6() const { return ___m_Enabled_6; }
  921. inline int32_t* get_address_of_m_Enabled_6() { return &___m_Enabled_6; }
  922. inline void set_m_Enabled_6(int32_t value)
  923. {
  924. ___m_Enabled_6 = value;
  925. }
  926. };
  927. #ifdef __clang__
  928. #pragma clang diagnostic pop
  929. #endif
  930. // Native definition for P/Invoke marshalling of UnityEngine.Collision2D
  931. struct Collision2D_t2842956331_marshaled_pinvoke
  932. {
  933. int32_t ___m_Collider_0;
  934. int32_t ___m_OtherCollider_1;
  935. int32_t ___m_Rigidbody_2;
  936. int32_t ___m_OtherRigidbody_3;
  937. ContactPoint2D_t3390240644 * ___m_Contacts_4;
  938. Vector2_t2156229523 ___m_RelativeVelocity_5;
  939. int32_t ___m_Enabled_6;
  940. };
  941. // Native definition for COM marshalling of UnityEngine.Collision2D
  942. struct Collision2D_t2842956331_marshaled_com
  943. {
  944. int32_t ___m_Collider_0;
  945. int32_t ___m_OtherCollider_1;
  946. int32_t ___m_Rigidbody_2;
  947. int32_t ___m_OtherRigidbody_3;
  948. ContactPoint2D_t3390240644 * ___m_Contacts_4;
  949. Vector2_t2156229523 ___m_RelativeVelocity_5;
  950. int32_t ___m_Enabled_6;
  951. };
  952. #endif // COLLISION2D_T2842956331_H
  953. #ifndef CONTACTPOINT2D_T3390240644_H
  954. #define CONTACTPOINT2D_T3390240644_H
  955. #ifdef __clang__
  956. #pragma clang diagnostic push
  957. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  958. #pragma clang diagnostic ignored "-Wunused-variable"
  959. #endif
  960. // UnityEngine.ContactPoint2D
  961. struct ContactPoint2D_t3390240644
  962. {
  963. public:
  964. // UnityEngine.Vector2 UnityEngine.ContactPoint2D::m_Point
  965. Vector2_t2156229523 ___m_Point_0;
  966. // UnityEngine.Vector2 UnityEngine.ContactPoint2D::m_Normal
  967. Vector2_t2156229523 ___m_Normal_1;
  968. // UnityEngine.Vector2 UnityEngine.ContactPoint2D::m_RelativeVelocity
  969. Vector2_t2156229523 ___m_RelativeVelocity_2;
  970. // System.Single UnityEngine.ContactPoint2D::m_Separation
  971. float ___m_Separation_3;
  972. // System.Single UnityEngine.ContactPoint2D::m_NormalImpulse
  973. float ___m_NormalImpulse_4;
  974. // System.Single UnityEngine.ContactPoint2D::m_TangentImpulse
  975. float ___m_TangentImpulse_5;
  976. // System.Int32 UnityEngine.ContactPoint2D::m_Collider
  977. int32_t ___m_Collider_6;
  978. // System.Int32 UnityEngine.ContactPoint2D::m_OtherCollider
  979. int32_t ___m_OtherCollider_7;
  980. // System.Int32 UnityEngine.ContactPoint2D::m_Rigidbody
  981. int32_t ___m_Rigidbody_8;
  982. // System.Int32 UnityEngine.ContactPoint2D::m_OtherRigidbody
  983. int32_t ___m_OtherRigidbody_9;
  984. // System.Int32 UnityEngine.ContactPoint2D::m_Enabled
  985. int32_t ___m_Enabled_10;
  986. public:
  987. inline static int32_t get_offset_of_m_Point_0() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Point_0)); }
  988. inline Vector2_t2156229523 get_m_Point_0() const { return ___m_Point_0; }
  989. inline Vector2_t2156229523 * get_address_of_m_Point_0() { return &___m_Point_0; }
  990. inline void set_m_Point_0(Vector2_t2156229523 value)
  991. {
  992. ___m_Point_0 = value;
  993. }
  994. inline static int32_t get_offset_of_m_Normal_1() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Normal_1)); }
  995. inline Vector2_t2156229523 get_m_Normal_1() const { return ___m_Normal_1; }
  996. inline Vector2_t2156229523 * get_address_of_m_Normal_1() { return &___m_Normal_1; }
  997. inline void set_m_Normal_1(Vector2_t2156229523 value)
  998. {
  999. ___m_Normal_1 = value;
  1000. }
  1001. inline static int32_t get_offset_of_m_RelativeVelocity_2() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_RelativeVelocity_2)); }
  1002. inline Vector2_t2156229523 get_m_RelativeVelocity_2() const { return ___m_RelativeVelocity_2; }
  1003. inline Vector2_t2156229523 * get_address_of_m_RelativeVelocity_2() { return &___m_RelativeVelocity_2; }
  1004. inline void set_m_RelativeVelocity_2(Vector2_t2156229523 value)
  1005. {
  1006. ___m_RelativeVelocity_2 = value;
  1007. }
  1008. inline static int32_t get_offset_of_m_Separation_3() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Separation_3)); }
  1009. inline float get_m_Separation_3() const { return ___m_Separation_3; }
  1010. inline float* get_address_of_m_Separation_3() { return &___m_Separation_3; }
  1011. inline void set_m_Separation_3(float value)
  1012. {
  1013. ___m_Separation_3 = value;
  1014. }
  1015. inline static int32_t get_offset_of_m_NormalImpulse_4() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_NormalImpulse_4)); }
  1016. inline float get_m_NormalImpulse_4() const { return ___m_NormalImpulse_4; }
  1017. inline float* get_address_of_m_NormalImpulse_4() { return &___m_NormalImpulse_4; }
  1018. inline void set_m_NormalImpulse_4(float value)
  1019. {
  1020. ___m_NormalImpulse_4 = value;
  1021. }
  1022. inline static int32_t get_offset_of_m_TangentImpulse_5() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_TangentImpulse_5)); }
  1023. inline float get_m_TangentImpulse_5() const { return ___m_TangentImpulse_5; }
  1024. inline float* get_address_of_m_TangentImpulse_5() { return &___m_TangentImpulse_5; }
  1025. inline void set_m_TangentImpulse_5(float value)
  1026. {
  1027. ___m_TangentImpulse_5 = value;
  1028. }
  1029. inline static int32_t get_offset_of_m_Collider_6() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Collider_6)); }
  1030. inline int32_t get_m_Collider_6() const { return ___m_Collider_6; }
  1031. inline int32_t* get_address_of_m_Collider_6() { return &___m_Collider_6; }
  1032. inline void set_m_Collider_6(int32_t value)
  1033. {
  1034. ___m_Collider_6 = value;
  1035. }
  1036. inline static int32_t get_offset_of_m_OtherCollider_7() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_OtherCollider_7)); }
  1037. inline int32_t get_m_OtherCollider_7() const { return ___m_OtherCollider_7; }
  1038. inline int32_t* get_address_of_m_OtherCollider_7() { return &___m_OtherCollider_7; }
  1039. inline void set_m_OtherCollider_7(int32_t value)
  1040. {
  1041. ___m_OtherCollider_7 = value;
  1042. }
  1043. inline static int32_t get_offset_of_m_Rigidbody_8() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Rigidbody_8)); }
  1044. inline int32_t get_m_Rigidbody_8() const { return ___m_Rigidbody_8; }
  1045. inline int32_t* get_address_of_m_Rigidbody_8() { return &___m_Rigidbody_8; }
  1046. inline void set_m_Rigidbody_8(int32_t value)
  1047. {
  1048. ___m_Rigidbody_8 = value;
  1049. }
  1050. inline static int32_t get_offset_of_m_OtherRigidbody_9() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_OtherRigidbody_9)); }
  1051. inline int32_t get_m_OtherRigidbody_9() const { return ___m_OtherRigidbody_9; }
  1052. inline int32_t* get_address_of_m_OtherRigidbody_9() { return &___m_OtherRigidbody_9; }
  1053. inline void set_m_OtherRigidbody_9(int32_t value)
  1054. {
  1055. ___m_OtherRigidbody_9 = value;
  1056. }
  1057. inline static int32_t get_offset_of_m_Enabled_10() { return static_cast<int32_t>(offsetof(ContactPoint2D_t3390240644, ___m_Enabled_10)); }
  1058. inline int32_t get_m_Enabled_10() const { return ___m_Enabled_10; }
  1059. inline int32_t* get_address_of_m_Enabled_10() { return &___m_Enabled_10; }
  1060. inline void set_m_Enabled_10(int32_t value)
  1061. {
  1062. ___m_Enabled_10 = value;
  1063. }
  1064. };
  1065. #ifdef __clang__
  1066. #pragma clang diagnostic pop
  1067. #endif
  1068. #endif // CONTACTPOINT2D_T3390240644_H
  1069. #ifndef RAY_T3785851493_H
  1070. #define RAY_T3785851493_H
  1071. #ifdef __clang__
  1072. #pragma clang diagnostic push
  1073. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1074. #pragma clang diagnostic ignored "-Wunused-variable"
  1075. #endif
  1076. // UnityEngine.Ray
  1077. struct Ray_t3785851493
  1078. {
  1079. public:
  1080. // UnityEngine.Vector3 UnityEngine.Ray::m_Origin
  1081. Vector3_t3722313464 ___m_Origin_0;
  1082. // UnityEngine.Vector3 UnityEngine.Ray::m_Direction
  1083. Vector3_t3722313464 ___m_Direction_1;
  1084. public:
  1085. inline static int32_t get_offset_of_m_Origin_0() { return static_cast<int32_t>(offsetof(Ray_t3785851493, ___m_Origin_0)); }
  1086. inline Vector3_t3722313464 get_m_Origin_0() const { return ___m_Origin_0; }
  1087. inline Vector3_t3722313464 * get_address_of_m_Origin_0() { return &___m_Origin_0; }
  1088. inline void set_m_Origin_0(Vector3_t3722313464 value)
  1089. {
  1090. ___m_Origin_0 = value;
  1091. }
  1092. inline static int32_t get_offset_of_m_Direction_1() { return static_cast<int32_t>(offsetof(Ray_t3785851493, ___m_Direction_1)); }
  1093. inline Vector3_t3722313464 get_m_Direction_1() const { return ___m_Direction_1; }
  1094. inline Vector3_t3722313464 * get_address_of_m_Direction_1() { return &___m_Direction_1; }
  1095. inline void set_m_Direction_1(Vector3_t3722313464 value)
  1096. {
  1097. ___m_Direction_1 = value;
  1098. }
  1099. };
  1100. #ifdef __clang__
  1101. #pragma clang diagnostic pop
  1102. #endif
  1103. #endif // RAY_T3785851493_H
  1104. #ifndef RAYCASTHIT2D_T2279581989_H
  1105. #define RAYCASTHIT2D_T2279581989_H
  1106. #ifdef __clang__
  1107. #pragma clang diagnostic push
  1108. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1109. #pragma clang diagnostic ignored "-Wunused-variable"
  1110. #endif
  1111. // UnityEngine.RaycastHit2D
  1112. struct RaycastHit2D_t2279581989
  1113. {
  1114. public:
  1115. // UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Centroid
  1116. Vector2_t2156229523 ___m_Centroid_0;
  1117. // UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Point
  1118. Vector2_t2156229523 ___m_Point_1;
  1119. // UnityEngine.Vector2 UnityEngine.RaycastHit2D::m_Normal
  1120. Vector2_t2156229523 ___m_Normal_2;
  1121. // System.Single UnityEngine.RaycastHit2D::m_Distance
  1122. float ___m_Distance_3;
  1123. // System.Single UnityEngine.RaycastHit2D::m_Fraction
  1124. float ___m_Fraction_4;
  1125. // UnityEngine.Collider2D UnityEngine.RaycastHit2D::m_Collider
  1126. Collider2D_t2806799626 * ___m_Collider_5;
  1127. public:
  1128. inline static int32_t get_offset_of_m_Centroid_0() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Centroid_0)); }
  1129. inline Vector2_t2156229523 get_m_Centroid_0() const { return ___m_Centroid_0; }
  1130. inline Vector2_t2156229523 * get_address_of_m_Centroid_0() { return &___m_Centroid_0; }
  1131. inline void set_m_Centroid_0(Vector2_t2156229523 value)
  1132. {
  1133. ___m_Centroid_0 = value;
  1134. }
  1135. inline static int32_t get_offset_of_m_Point_1() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Point_1)); }
  1136. inline Vector2_t2156229523 get_m_Point_1() const { return ___m_Point_1; }
  1137. inline Vector2_t2156229523 * get_address_of_m_Point_1() { return &___m_Point_1; }
  1138. inline void set_m_Point_1(Vector2_t2156229523 value)
  1139. {
  1140. ___m_Point_1 = value;
  1141. }
  1142. inline static int32_t get_offset_of_m_Normal_2() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Normal_2)); }
  1143. inline Vector2_t2156229523 get_m_Normal_2() const { return ___m_Normal_2; }
  1144. inline Vector2_t2156229523 * get_address_of_m_Normal_2() { return &___m_Normal_2; }
  1145. inline void set_m_Normal_2(Vector2_t2156229523 value)
  1146. {
  1147. ___m_Normal_2 = value;
  1148. }
  1149. inline static int32_t get_offset_of_m_Distance_3() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Distance_3)); }
  1150. inline float get_m_Distance_3() const { return ___m_Distance_3; }
  1151. inline float* get_address_of_m_Distance_3() { return &___m_Distance_3; }
  1152. inline void set_m_Distance_3(float value)
  1153. {
  1154. ___m_Distance_3 = value;
  1155. }
  1156. inline static int32_t get_offset_of_m_Fraction_4() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Fraction_4)); }
  1157. inline float get_m_Fraction_4() const { return ___m_Fraction_4; }
  1158. inline float* get_address_of_m_Fraction_4() { return &___m_Fraction_4; }
  1159. inline void set_m_Fraction_4(float value)
  1160. {
  1161. ___m_Fraction_4 = value;
  1162. }
  1163. inline static int32_t get_offset_of_m_Collider_5() { return static_cast<int32_t>(offsetof(RaycastHit2D_t2279581989, ___m_Collider_5)); }
  1164. inline Collider2D_t2806799626 * get_m_Collider_5() const { return ___m_Collider_5; }
  1165. inline Collider2D_t2806799626 ** get_address_of_m_Collider_5() { return &___m_Collider_5; }
  1166. inline void set_m_Collider_5(Collider2D_t2806799626 * value)
  1167. {
  1168. ___m_Collider_5 = value;
  1169. Il2CppCodeGenWriteBarrier((&___m_Collider_5), value);
  1170. }
  1171. };
  1172. #ifdef __clang__
  1173. #pragma clang diagnostic pop
  1174. #endif
  1175. // Native definition for P/Invoke marshalling of UnityEngine.RaycastHit2D
  1176. struct RaycastHit2D_t2279581989_marshaled_pinvoke
  1177. {
  1178. Vector2_t2156229523 ___m_Centroid_0;
  1179. Vector2_t2156229523 ___m_Point_1;
  1180. Vector2_t2156229523 ___m_Normal_2;
  1181. float ___m_Distance_3;
  1182. float ___m_Fraction_4;
  1183. Collider2D_t2806799626 * ___m_Collider_5;
  1184. };
  1185. // Native definition for COM marshalling of UnityEngine.RaycastHit2D
  1186. struct RaycastHit2D_t2279581989_marshaled_com
  1187. {
  1188. Vector2_t2156229523 ___m_Centroid_0;
  1189. Vector2_t2156229523 ___m_Point_1;
  1190. Vector2_t2156229523 ___m_Normal_2;
  1191. float ___m_Distance_3;
  1192. float ___m_Fraction_4;
  1193. Collider2D_t2806799626 * ___m_Collider_5;
  1194. };
  1195. #endif // RAYCASTHIT2D_T2279581989_H
  1196. #ifndef COMPONENT_T1923634451_H
  1197. #define COMPONENT_T1923634451_H
  1198. #ifdef __clang__
  1199. #pragma clang diagnostic push
  1200. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1201. #pragma clang diagnostic ignored "-Wunused-variable"
  1202. #endif
  1203. // UnityEngine.Component
  1204. struct Component_t1923634451 : public Object_t631007953
  1205. {
  1206. public:
  1207. public:
  1208. };
  1209. #ifdef __clang__
  1210. #pragma clang diagnostic pop
  1211. #endif
  1212. #endif // COMPONENT_T1923634451_H
  1213. #ifndef BEHAVIOUR_T1437897464_H
  1214. #define BEHAVIOUR_T1437897464_H
  1215. #ifdef __clang__
  1216. #pragma clang diagnostic push
  1217. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1218. #pragma clang diagnostic ignored "-Wunused-variable"
  1219. #endif
  1220. // UnityEngine.Behaviour
  1221. struct Behaviour_t1437897464 : public Component_t1923634451
  1222. {
  1223. public:
  1224. public:
  1225. };
  1226. #ifdef __clang__
  1227. #pragma clang diagnostic pop
  1228. #endif
  1229. #endif // BEHAVIOUR_T1437897464_H
  1230. #ifndef RIGIDBODY2D_T939494601_H
  1231. #define RIGIDBODY2D_T939494601_H
  1232. #ifdef __clang__
  1233. #pragma clang diagnostic push
  1234. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1235. #pragma clang diagnostic ignored "-Wunused-variable"
  1236. #endif
  1237. // UnityEngine.Rigidbody2D
  1238. struct Rigidbody2D_t939494601 : public Component_t1923634451
  1239. {
  1240. public:
  1241. public:
  1242. };
  1243. #ifdef __clang__
  1244. #pragma clang diagnostic pop
  1245. #endif
  1246. #endif // RIGIDBODY2D_T939494601_H
  1247. #ifndef COLLIDER2D_T2806799626_H
  1248. #define COLLIDER2D_T2806799626_H
  1249. #ifdef __clang__
  1250. #pragma clang diagnostic push
  1251. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1252. #pragma clang diagnostic ignored "-Wunused-variable"
  1253. #endif
  1254. // UnityEngine.Collider2D
  1255. struct Collider2D_t2806799626 : public Behaviour_t1437897464
  1256. {
  1257. public:
  1258. public:
  1259. };
  1260. #ifdef __clang__
  1261. #pragma clang diagnostic pop
  1262. #endif
  1263. #endif // COLLIDER2D_T2806799626_H
  1264. // UnityEngine.ContactPoint2D[]
  1265. struct ContactPoint2DU5BU5D_t96683501 : public RuntimeArray
  1266. {
  1267. public:
  1268. ALIGN_FIELD (8) ContactPoint2D_t3390240644 m_Items[1];
  1269. public:
  1270. inline ContactPoint2D_t3390240644 GetAt(il2cpp_array_size_t index) const
  1271. {
  1272. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1273. return m_Items[index];
  1274. }
  1275. inline ContactPoint2D_t3390240644 * GetAddressAt(il2cpp_array_size_t index)
  1276. {
  1277. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1278. return m_Items + index;
  1279. }
  1280. inline void SetAt(il2cpp_array_size_t index, ContactPoint2D_t3390240644 value)
  1281. {
  1282. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1283. m_Items[index] = value;
  1284. }
  1285. inline ContactPoint2D_t3390240644 GetAtUnchecked(il2cpp_array_size_t index) const
  1286. {
  1287. return m_Items[index];
  1288. }
  1289. inline ContactPoint2D_t3390240644 * GetAddressAtUnchecked(il2cpp_array_size_t index)
  1290. {
  1291. return m_Items + index;
  1292. }
  1293. inline void SetAtUnchecked(il2cpp_array_size_t index, ContactPoint2D_t3390240644 value)
  1294. {
  1295. m_Items[index] = value;
  1296. }
  1297. };
  1298. // UnityEngine.RaycastHit2D[]
  1299. struct RaycastHit2DU5BU5D_t4286651560 : public RuntimeArray
  1300. {
  1301. public:
  1302. ALIGN_FIELD (8) RaycastHit2D_t2279581989 m_Items[1];
  1303. public:
  1304. inline RaycastHit2D_t2279581989 GetAt(il2cpp_array_size_t index) const
  1305. {
  1306. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1307. return m_Items[index];
  1308. }
  1309. inline RaycastHit2D_t2279581989 * GetAddressAt(il2cpp_array_size_t index)
  1310. {
  1311. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1312. return m_Items + index;
  1313. }
  1314. inline void SetAt(il2cpp_array_size_t index, RaycastHit2D_t2279581989 value)
  1315. {
  1316. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  1317. m_Items[index] = value;
  1318. }
  1319. inline RaycastHit2D_t2279581989 GetAtUnchecked(il2cpp_array_size_t index) const
  1320. {
  1321. return m_Items[index];
  1322. }
  1323. inline RaycastHit2D_t2279581989 * GetAddressAtUnchecked(il2cpp_array_size_t index)
  1324. {
  1325. return m_Items + index;
  1326. }
  1327. inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastHit2D_t2279581989 value)
  1328. {
  1329. m_Items[index] = value;
  1330. }
  1331. };
  1332. // System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
  1333. extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m2321703786_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
  1334. // System.Boolean System.Single::IsNaN(System.Single)
  1335. extern "C" IL2CPP_METHOD_ATTR bool Single_IsNaN_m4024467661 (RuntimeObject * __this /* static, unused */, float p0, const RuntimeMethod* method);
  1336. // System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
  1337. extern "C" IL2CPP_METHOD_ATTR float Mathf_Clamp_m3350697880 (RuntimeObject * __this /* static, unused */, float p0, float p1, float p2, const RuntimeMethod* method);
  1338. // System.Void UnityEngine.ContactFilter2D::CheckConsistency()
  1339. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_CheckConsistency_m222060761 (ContactFilter2D_t3805203441 * __this, const RuntimeMethod* method);
  1340. // System.Void UnityEngine.ContactFilter2D::SetLayerMask(UnityEngine.LayerMask)
  1341. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_SetLayerMask_m3440334821 (ContactFilter2D_t3805203441 * __this, LayerMask_t3493934918 ___layerMask0, const RuntimeMethod* method);
  1342. // System.Void UnityEngine.ContactFilter2D::SetDepth(System.Single,System.Single)
  1343. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_SetDepth_m3691256496 (ContactFilter2D_t3805203441 * __this, float ___minDepth0, float ___maxDepth1, const RuntimeMethod* method);
  1344. // System.Boolean UnityEngine.Physics2D::get_queriesHitTriggers()
  1345. extern "C" IL2CPP_METHOD_ATTR bool Physics2D_get_queriesHitTriggers_m1249674012 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
  1346. // UnityEngine.LayerMask UnityEngine.LayerMask::op_Implicit(System.Int32)
  1347. extern "C" IL2CPP_METHOD_ATTR LayerMask_t3493934918 LayerMask_op_Implicit_m90232283 (RuntimeObject * __this /* static, unused */, int32_t p0, const RuntimeMethod* method);
  1348. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Single)
  1349. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m1407159225 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, int32_t ___layerMask3, float ___minDepth4, float ___maxDepth5, const RuntimeMethod* method);
  1350. // UnityEngine.ContactFilter2D UnityEngine.ContactFilter2D::CreateLegacyFilter(System.Int32,System.Single,System.Single)
  1351. extern "C" IL2CPP_METHOD_ATTR ContactFilter2D_t3805203441 ContactFilter2D_CreateLegacyFilter_m1873816896 (RuntimeObject * __this /* static, unused */, int32_t ___layerMask0, float ___minDepth1, float ___maxDepth2, const RuntimeMethod* method);
  1352. // System.Void UnityEngine.Physics2D::Internal_Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D&)
  1353. extern "C" IL2CPP_METHOD_ATTR void Physics2D_Internal_Raycast_m1768014582 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, ContactFilter2D_t3805203441 ___contactFilter3, RaycastHit2D_t2279581989 * ___raycastHit4, const RuntimeMethod* method);
  1354. // System.Int32 UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D[],System.Single)
  1355. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_Raycast_m1700114981 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, ContactFilter2D_t3805203441 ___contactFilter2, RaycastHit2DU5BU5D_t4286651560* ___results3, float ___distance4, const RuntimeMethod* method);
  1356. // System.Int32 UnityEngine.Physics2D::Internal_RaycastNonAlloc(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D[])
  1357. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_Internal_RaycastNonAlloc_m3815006984 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, ContactFilter2D_t3805203441 ___contactFilter3, RaycastHit2DU5BU5D_t4286651560* ___results4, const RuntimeMethod* method);
  1358. // System.Void UnityEngine.Physics2D::INTERNAL_CALL_Internal_Raycast(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D&)
  1359. extern "C" IL2CPP_METHOD_ATTR void Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 * ___origin0, Vector2_t2156229523 * ___direction1, float ___distance2, ContactFilter2D_t3805203441 * ___contactFilter3, RaycastHit2D_t2279581989 * ___raycastHit4, const RuntimeMethod* method);
  1360. // System.Int32 UnityEngine.Physics2D::INTERNAL_CALL_Internal_RaycastNonAlloc(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D[])
  1361. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 * ___origin0, Vector2_t2156229523 * ___direction1, float ___distance2, ContactFilter2D_t3805203441 * ___contactFilter3, RaycastHit2DU5BU5D_t4286651560* ___results4, const RuntimeMethod* method);
  1362. // UnityEngine.RaycastHit2D[] UnityEngine.Physics2D::INTERNAL_CALL_GetRayIntersectionAll(UnityEngine.Ray&,System.Single,System.Int32)
  1363. extern "C" IL2CPP_METHOD_ATTR RaycastHit2DU5BU5D_t4286651560* Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977 (RuntimeObject * __this /* static, unused */, Ray_t3785851493 * ___ray0, float ___distance1, int32_t ___layerMask2, const RuntimeMethod* method);
  1364. // System.Void System.Collections.Generic.List`1<UnityEngine.Rigidbody2D>::.ctor()
  1365. #define List_1__ctor_m2466177744(__this, method) (( void (*) (List_1_t2411569343 *, const RuntimeMethod*))List_1__ctor_m2321703786_gshared)(__this, method)
  1366. #ifdef __clang__
  1367. #pragma clang diagnostic push
  1368. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1369. #pragma clang diagnostic ignored "-Wunused-variable"
  1370. #endif
  1371. #ifdef __clang__
  1372. #pragma clang diagnostic pop
  1373. #endif
  1374. #ifdef __clang__
  1375. #pragma clang diagnostic push
  1376. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1377. #pragma clang diagnostic ignored "-Wunused-variable"
  1378. #endif
  1379. #ifdef __clang__
  1380. #pragma clang diagnostic pop
  1381. #endif
  1382. #ifdef __clang__
  1383. #pragma clang diagnostic push
  1384. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1385. #pragma clang diagnostic ignored "-Wunused-variable"
  1386. #endif
  1387. // Conversion methods for marshalling of: UnityEngine.Collision2D
  1388. extern "C" void Collision2D_t2842956331_marshal_pinvoke(const Collision2D_t2842956331& unmarshaled, Collision2D_t2842956331_marshaled_pinvoke& marshaled)
  1389. {
  1390. marshaled.___m_Collider_0 = unmarshaled.get_m_Collider_0();
  1391. marshaled.___m_OtherCollider_1 = unmarshaled.get_m_OtherCollider_1();
  1392. marshaled.___m_Rigidbody_2 = unmarshaled.get_m_Rigidbody_2();
  1393. marshaled.___m_OtherRigidbody_3 = unmarshaled.get_m_OtherRigidbody_3();
  1394. if (unmarshaled.get_m_Contacts_4() != NULL)
  1395. {
  1396. il2cpp_array_size_t _unmarshaled_m_Contacts_Length = (unmarshaled.get_m_Contacts_4())->max_length;
  1397. marshaled.___m_Contacts_4 = il2cpp_codegen_marshal_allocate_array<ContactPoint2D_t3390240644 >(_unmarshaled_m_Contacts_Length);
  1398. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaled_m_Contacts_Length); i++)
  1399. {
  1400. (marshaled.___m_Contacts_4)[i] = (unmarshaled.get_m_Contacts_4())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
  1401. }
  1402. }
  1403. else
  1404. {
  1405. marshaled.___m_Contacts_4 = NULL;
  1406. }
  1407. marshaled.___m_RelativeVelocity_5 = unmarshaled.get_m_RelativeVelocity_5();
  1408. marshaled.___m_Enabled_6 = unmarshaled.get_m_Enabled_6();
  1409. }
  1410. extern "C" void Collision2D_t2842956331_marshal_pinvoke_back(const Collision2D_t2842956331_marshaled_pinvoke& marshaled, Collision2D_t2842956331& unmarshaled)
  1411. {
  1412. static bool s_Il2CppMethodInitialized;
  1413. if (!s_Il2CppMethodInitialized)
  1414. {
  1415. il2cpp_codegen_initialize_method (Collision2D_t2842956331_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
  1416. s_Il2CppMethodInitialized = true;
  1417. }
  1418. int32_t unmarshaled_m_Collider_temp_0 = 0;
  1419. unmarshaled_m_Collider_temp_0 = marshaled.___m_Collider_0;
  1420. unmarshaled.set_m_Collider_0(unmarshaled_m_Collider_temp_0);
  1421. int32_t unmarshaled_m_OtherCollider_temp_1 = 0;
  1422. unmarshaled_m_OtherCollider_temp_1 = marshaled.___m_OtherCollider_1;
  1423. unmarshaled.set_m_OtherCollider_1(unmarshaled_m_OtherCollider_temp_1);
  1424. int32_t unmarshaled_m_Rigidbody_temp_2 = 0;
  1425. unmarshaled_m_Rigidbody_temp_2 = marshaled.___m_Rigidbody_2;
  1426. unmarshaled.set_m_Rigidbody_2(unmarshaled_m_Rigidbody_temp_2);
  1427. int32_t unmarshaled_m_OtherRigidbody_temp_3 = 0;
  1428. unmarshaled_m_OtherRigidbody_temp_3 = marshaled.___m_OtherRigidbody_3;
  1429. unmarshaled.set_m_OtherRigidbody_3(unmarshaled_m_OtherRigidbody_temp_3);
  1430. if (marshaled.___m_Contacts_4 != NULL)
  1431. {
  1432. if (unmarshaled.get_m_Contacts_4() == NULL)
  1433. {
  1434. unmarshaled.set_m_Contacts_4(reinterpret_cast<ContactPoint2DU5BU5D_t96683501*>(SZArrayNew(ContactPoint2DU5BU5D_t96683501_il2cpp_TypeInfo_var, 1)));
  1435. }
  1436. il2cpp_array_size_t _arrayLength = (unmarshaled.get_m_Contacts_4())->max_length;
  1437. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
  1438. {
  1439. (unmarshaled.get_m_Contacts_4())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___m_Contacts_4)[i]);
  1440. }
  1441. }
  1442. Vector2_t2156229523 unmarshaled_m_RelativeVelocity_temp_5;
  1443. memset(&unmarshaled_m_RelativeVelocity_temp_5, 0, sizeof(unmarshaled_m_RelativeVelocity_temp_5));
  1444. unmarshaled_m_RelativeVelocity_temp_5 = marshaled.___m_RelativeVelocity_5;
  1445. unmarshaled.set_m_RelativeVelocity_5(unmarshaled_m_RelativeVelocity_temp_5);
  1446. int32_t unmarshaled_m_Enabled_temp_6 = 0;
  1447. unmarshaled_m_Enabled_temp_6 = marshaled.___m_Enabled_6;
  1448. unmarshaled.set_m_Enabled_6(unmarshaled_m_Enabled_temp_6);
  1449. }
  1450. // Conversion method for clean up from marshalling of: UnityEngine.Collision2D
  1451. extern "C" void Collision2D_t2842956331_marshal_pinvoke_cleanup(Collision2D_t2842956331_marshaled_pinvoke& marshaled)
  1452. {
  1453. if (marshaled.___m_Contacts_4 != NULL)
  1454. {
  1455. il2cpp_codegen_marshal_free(marshaled.___m_Contacts_4);
  1456. marshaled.___m_Contacts_4 = NULL;
  1457. }
  1458. }
  1459. // Conversion methods for marshalling of: UnityEngine.Collision2D
  1460. extern "C" void Collision2D_t2842956331_marshal_com(const Collision2D_t2842956331& unmarshaled, Collision2D_t2842956331_marshaled_com& marshaled)
  1461. {
  1462. marshaled.___m_Collider_0 = unmarshaled.get_m_Collider_0();
  1463. marshaled.___m_OtherCollider_1 = unmarshaled.get_m_OtherCollider_1();
  1464. marshaled.___m_Rigidbody_2 = unmarshaled.get_m_Rigidbody_2();
  1465. marshaled.___m_OtherRigidbody_3 = unmarshaled.get_m_OtherRigidbody_3();
  1466. if (unmarshaled.get_m_Contacts_4() != NULL)
  1467. {
  1468. il2cpp_array_size_t _unmarshaled_m_Contacts_Length = (unmarshaled.get_m_Contacts_4())->max_length;
  1469. marshaled.___m_Contacts_4 = il2cpp_codegen_marshal_allocate_array<ContactPoint2D_t3390240644 >(_unmarshaled_m_Contacts_Length);
  1470. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_unmarshaled_m_Contacts_Length); i++)
  1471. {
  1472. (marshaled.___m_Contacts_4)[i] = (unmarshaled.get_m_Contacts_4())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
  1473. }
  1474. }
  1475. else
  1476. {
  1477. marshaled.___m_Contacts_4 = NULL;
  1478. }
  1479. marshaled.___m_RelativeVelocity_5 = unmarshaled.get_m_RelativeVelocity_5();
  1480. marshaled.___m_Enabled_6 = unmarshaled.get_m_Enabled_6();
  1481. }
  1482. extern "C" void Collision2D_t2842956331_marshal_com_back(const Collision2D_t2842956331_marshaled_com& marshaled, Collision2D_t2842956331& unmarshaled)
  1483. {
  1484. static bool s_Il2CppMethodInitialized;
  1485. if (!s_Il2CppMethodInitialized)
  1486. {
  1487. il2cpp_codegen_initialize_method (Collision2D_t2842956331_com_FromNativeMethodDefinition_MetadataUsageId);
  1488. s_Il2CppMethodInitialized = true;
  1489. }
  1490. int32_t unmarshaled_m_Collider_temp_0 = 0;
  1491. unmarshaled_m_Collider_temp_0 = marshaled.___m_Collider_0;
  1492. unmarshaled.set_m_Collider_0(unmarshaled_m_Collider_temp_0);
  1493. int32_t unmarshaled_m_OtherCollider_temp_1 = 0;
  1494. unmarshaled_m_OtherCollider_temp_1 = marshaled.___m_OtherCollider_1;
  1495. unmarshaled.set_m_OtherCollider_1(unmarshaled_m_OtherCollider_temp_1);
  1496. int32_t unmarshaled_m_Rigidbody_temp_2 = 0;
  1497. unmarshaled_m_Rigidbody_temp_2 = marshaled.___m_Rigidbody_2;
  1498. unmarshaled.set_m_Rigidbody_2(unmarshaled_m_Rigidbody_temp_2);
  1499. int32_t unmarshaled_m_OtherRigidbody_temp_3 = 0;
  1500. unmarshaled_m_OtherRigidbody_temp_3 = marshaled.___m_OtherRigidbody_3;
  1501. unmarshaled.set_m_OtherRigidbody_3(unmarshaled_m_OtherRigidbody_temp_3);
  1502. if (marshaled.___m_Contacts_4 != NULL)
  1503. {
  1504. if (unmarshaled.get_m_Contacts_4() == NULL)
  1505. {
  1506. unmarshaled.set_m_Contacts_4(reinterpret_cast<ContactPoint2DU5BU5D_t96683501*>(SZArrayNew(ContactPoint2DU5BU5D_t96683501_il2cpp_TypeInfo_var, 1)));
  1507. }
  1508. il2cpp_array_size_t _arrayLength = (unmarshaled.get_m_Contacts_4())->max_length;
  1509. for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(_arrayLength); i++)
  1510. {
  1511. (unmarshaled.get_m_Contacts_4())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___m_Contacts_4)[i]);
  1512. }
  1513. }
  1514. Vector2_t2156229523 unmarshaled_m_RelativeVelocity_temp_5;
  1515. memset(&unmarshaled_m_RelativeVelocity_temp_5, 0, sizeof(unmarshaled_m_RelativeVelocity_temp_5));
  1516. unmarshaled_m_RelativeVelocity_temp_5 = marshaled.___m_RelativeVelocity_5;
  1517. unmarshaled.set_m_RelativeVelocity_5(unmarshaled_m_RelativeVelocity_temp_5);
  1518. int32_t unmarshaled_m_Enabled_temp_6 = 0;
  1519. unmarshaled_m_Enabled_temp_6 = marshaled.___m_Enabled_6;
  1520. unmarshaled.set_m_Enabled_6(unmarshaled_m_Enabled_temp_6);
  1521. }
  1522. // Conversion method for clean up from marshalling of: UnityEngine.Collision2D
  1523. extern "C" void Collision2D_t2842956331_marshal_com_cleanup(Collision2D_t2842956331_marshaled_com& marshaled)
  1524. {
  1525. if (marshaled.___m_Contacts_4 != NULL)
  1526. {
  1527. il2cpp_codegen_marshal_free(marshaled.___m_Contacts_4);
  1528. marshaled.___m_Contacts_4 = NULL;
  1529. }
  1530. }
  1531. #ifdef __clang__
  1532. #pragma clang diagnostic pop
  1533. #endif
  1534. #ifdef __clang__
  1535. #pragma clang diagnostic push
  1536. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1537. #pragma clang diagnostic ignored "-Wunused-variable"
  1538. #endif
  1539. // Conversion methods for marshalling of: UnityEngine.ContactFilter2D
  1540. extern "C" void ContactFilter2D_t3805203441_marshal_pinvoke(const ContactFilter2D_t3805203441& unmarshaled, ContactFilter2D_t3805203441_marshaled_pinvoke& marshaled)
  1541. {
  1542. marshaled.___useTriggers_0 = static_cast<int32_t>(unmarshaled.get_useTriggers_0());
  1543. marshaled.___useLayerMask_1 = static_cast<int32_t>(unmarshaled.get_useLayerMask_1());
  1544. marshaled.___useDepth_2 = static_cast<int32_t>(unmarshaled.get_useDepth_2());
  1545. marshaled.___useOutsideDepth_3 = static_cast<int32_t>(unmarshaled.get_useOutsideDepth_3());
  1546. marshaled.___useNormalAngle_4 = static_cast<int32_t>(unmarshaled.get_useNormalAngle_4());
  1547. marshaled.___useOutsideNormalAngle_5 = static_cast<int32_t>(unmarshaled.get_useOutsideNormalAngle_5());
  1548. marshaled.___layerMask_6 = unmarshaled.get_layerMask_6();
  1549. marshaled.___minDepth_7 = unmarshaled.get_minDepth_7();
  1550. marshaled.___maxDepth_8 = unmarshaled.get_maxDepth_8();
  1551. marshaled.___minNormalAngle_9 = unmarshaled.get_minNormalAngle_9();
  1552. marshaled.___maxNormalAngle_10 = unmarshaled.get_maxNormalAngle_10();
  1553. }
  1554. extern "C" void ContactFilter2D_t3805203441_marshal_pinvoke_back(const ContactFilter2D_t3805203441_marshaled_pinvoke& marshaled, ContactFilter2D_t3805203441& unmarshaled)
  1555. {
  1556. bool unmarshaled_useTriggers_temp_0 = false;
  1557. unmarshaled_useTriggers_temp_0 = static_cast<bool>(marshaled.___useTriggers_0);
  1558. unmarshaled.set_useTriggers_0(unmarshaled_useTriggers_temp_0);
  1559. bool unmarshaled_useLayerMask_temp_1 = false;
  1560. unmarshaled_useLayerMask_temp_1 = static_cast<bool>(marshaled.___useLayerMask_1);
  1561. unmarshaled.set_useLayerMask_1(unmarshaled_useLayerMask_temp_1);
  1562. bool unmarshaled_useDepth_temp_2 = false;
  1563. unmarshaled_useDepth_temp_2 = static_cast<bool>(marshaled.___useDepth_2);
  1564. unmarshaled.set_useDepth_2(unmarshaled_useDepth_temp_2);
  1565. bool unmarshaled_useOutsideDepth_temp_3 = false;
  1566. unmarshaled_useOutsideDepth_temp_3 = static_cast<bool>(marshaled.___useOutsideDepth_3);
  1567. unmarshaled.set_useOutsideDepth_3(unmarshaled_useOutsideDepth_temp_3);
  1568. bool unmarshaled_useNormalAngle_temp_4 = false;
  1569. unmarshaled_useNormalAngle_temp_4 = static_cast<bool>(marshaled.___useNormalAngle_4);
  1570. unmarshaled.set_useNormalAngle_4(unmarshaled_useNormalAngle_temp_4);
  1571. bool unmarshaled_useOutsideNormalAngle_temp_5 = false;
  1572. unmarshaled_useOutsideNormalAngle_temp_5 = static_cast<bool>(marshaled.___useOutsideNormalAngle_5);
  1573. unmarshaled.set_useOutsideNormalAngle_5(unmarshaled_useOutsideNormalAngle_temp_5);
  1574. LayerMask_t3493934918 unmarshaled_layerMask_temp_6;
  1575. memset(&unmarshaled_layerMask_temp_6, 0, sizeof(unmarshaled_layerMask_temp_6));
  1576. unmarshaled_layerMask_temp_6 = marshaled.___layerMask_6;
  1577. unmarshaled.set_layerMask_6(unmarshaled_layerMask_temp_6);
  1578. float unmarshaled_minDepth_temp_7 = 0.0f;
  1579. unmarshaled_minDepth_temp_7 = marshaled.___minDepth_7;
  1580. unmarshaled.set_minDepth_7(unmarshaled_minDepth_temp_7);
  1581. float unmarshaled_maxDepth_temp_8 = 0.0f;
  1582. unmarshaled_maxDepth_temp_8 = marshaled.___maxDepth_8;
  1583. unmarshaled.set_maxDepth_8(unmarshaled_maxDepth_temp_8);
  1584. float unmarshaled_minNormalAngle_temp_9 = 0.0f;
  1585. unmarshaled_minNormalAngle_temp_9 = marshaled.___minNormalAngle_9;
  1586. unmarshaled.set_minNormalAngle_9(unmarshaled_minNormalAngle_temp_9);
  1587. float unmarshaled_maxNormalAngle_temp_10 = 0.0f;
  1588. unmarshaled_maxNormalAngle_temp_10 = marshaled.___maxNormalAngle_10;
  1589. unmarshaled.set_maxNormalAngle_10(unmarshaled_maxNormalAngle_temp_10);
  1590. }
  1591. // Conversion method for clean up from marshalling of: UnityEngine.ContactFilter2D
  1592. extern "C" void ContactFilter2D_t3805203441_marshal_pinvoke_cleanup(ContactFilter2D_t3805203441_marshaled_pinvoke& marshaled)
  1593. {
  1594. }
  1595. // Conversion methods for marshalling of: UnityEngine.ContactFilter2D
  1596. extern "C" void ContactFilter2D_t3805203441_marshal_com(const ContactFilter2D_t3805203441& unmarshaled, ContactFilter2D_t3805203441_marshaled_com& marshaled)
  1597. {
  1598. marshaled.___useTriggers_0 = static_cast<int32_t>(unmarshaled.get_useTriggers_0());
  1599. marshaled.___useLayerMask_1 = static_cast<int32_t>(unmarshaled.get_useLayerMask_1());
  1600. marshaled.___useDepth_2 = static_cast<int32_t>(unmarshaled.get_useDepth_2());
  1601. marshaled.___useOutsideDepth_3 = static_cast<int32_t>(unmarshaled.get_useOutsideDepth_3());
  1602. marshaled.___useNormalAngle_4 = static_cast<int32_t>(unmarshaled.get_useNormalAngle_4());
  1603. marshaled.___useOutsideNormalAngle_5 = static_cast<int32_t>(unmarshaled.get_useOutsideNormalAngle_5());
  1604. marshaled.___layerMask_6 = unmarshaled.get_layerMask_6();
  1605. marshaled.___minDepth_7 = unmarshaled.get_minDepth_7();
  1606. marshaled.___maxDepth_8 = unmarshaled.get_maxDepth_8();
  1607. marshaled.___minNormalAngle_9 = unmarshaled.get_minNormalAngle_9();
  1608. marshaled.___maxNormalAngle_10 = unmarshaled.get_maxNormalAngle_10();
  1609. }
  1610. extern "C" void ContactFilter2D_t3805203441_marshal_com_back(const ContactFilter2D_t3805203441_marshaled_com& marshaled, ContactFilter2D_t3805203441& unmarshaled)
  1611. {
  1612. bool unmarshaled_useTriggers_temp_0 = false;
  1613. unmarshaled_useTriggers_temp_0 = static_cast<bool>(marshaled.___useTriggers_0);
  1614. unmarshaled.set_useTriggers_0(unmarshaled_useTriggers_temp_0);
  1615. bool unmarshaled_useLayerMask_temp_1 = false;
  1616. unmarshaled_useLayerMask_temp_1 = static_cast<bool>(marshaled.___useLayerMask_1);
  1617. unmarshaled.set_useLayerMask_1(unmarshaled_useLayerMask_temp_1);
  1618. bool unmarshaled_useDepth_temp_2 = false;
  1619. unmarshaled_useDepth_temp_2 = static_cast<bool>(marshaled.___useDepth_2);
  1620. unmarshaled.set_useDepth_2(unmarshaled_useDepth_temp_2);
  1621. bool unmarshaled_useOutsideDepth_temp_3 = false;
  1622. unmarshaled_useOutsideDepth_temp_3 = static_cast<bool>(marshaled.___useOutsideDepth_3);
  1623. unmarshaled.set_useOutsideDepth_3(unmarshaled_useOutsideDepth_temp_3);
  1624. bool unmarshaled_useNormalAngle_temp_4 = false;
  1625. unmarshaled_useNormalAngle_temp_4 = static_cast<bool>(marshaled.___useNormalAngle_4);
  1626. unmarshaled.set_useNormalAngle_4(unmarshaled_useNormalAngle_temp_4);
  1627. bool unmarshaled_useOutsideNormalAngle_temp_5 = false;
  1628. unmarshaled_useOutsideNormalAngle_temp_5 = static_cast<bool>(marshaled.___useOutsideNormalAngle_5);
  1629. unmarshaled.set_useOutsideNormalAngle_5(unmarshaled_useOutsideNormalAngle_temp_5);
  1630. LayerMask_t3493934918 unmarshaled_layerMask_temp_6;
  1631. memset(&unmarshaled_layerMask_temp_6, 0, sizeof(unmarshaled_layerMask_temp_6));
  1632. unmarshaled_layerMask_temp_6 = marshaled.___layerMask_6;
  1633. unmarshaled.set_layerMask_6(unmarshaled_layerMask_temp_6);
  1634. float unmarshaled_minDepth_temp_7 = 0.0f;
  1635. unmarshaled_minDepth_temp_7 = marshaled.___minDepth_7;
  1636. unmarshaled.set_minDepth_7(unmarshaled_minDepth_temp_7);
  1637. float unmarshaled_maxDepth_temp_8 = 0.0f;
  1638. unmarshaled_maxDepth_temp_8 = marshaled.___maxDepth_8;
  1639. unmarshaled.set_maxDepth_8(unmarshaled_maxDepth_temp_8);
  1640. float unmarshaled_minNormalAngle_temp_9 = 0.0f;
  1641. unmarshaled_minNormalAngle_temp_9 = marshaled.___minNormalAngle_9;
  1642. unmarshaled.set_minNormalAngle_9(unmarshaled_minNormalAngle_temp_9);
  1643. float unmarshaled_maxNormalAngle_temp_10 = 0.0f;
  1644. unmarshaled_maxNormalAngle_temp_10 = marshaled.___maxNormalAngle_10;
  1645. unmarshaled.set_maxNormalAngle_10(unmarshaled_maxNormalAngle_temp_10);
  1646. }
  1647. // Conversion method for clean up from marshalling of: UnityEngine.ContactFilter2D
  1648. extern "C" void ContactFilter2D_t3805203441_marshal_com_cleanup(ContactFilter2D_t3805203441_marshaled_com& marshaled)
  1649. {
  1650. }
  1651. // System.Void UnityEngine.ContactFilter2D::CheckConsistency()
  1652. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_CheckConsistency_m222060761 (ContactFilter2D_t3805203441 * __this, const RuntimeMethod* method)
  1653. {
  1654. static bool s_Il2CppMethodInitialized;
  1655. if (!s_Il2CppMethodInitialized)
  1656. {
  1657. il2cpp_codegen_initialize_method (ContactFilter2D_CheckConsistency_m222060761_MetadataUsageId);
  1658. s_Il2CppMethodInitialized = true;
  1659. }
  1660. float V_0 = 0.0f;
  1661. float V_1 = 0.0f;
  1662. ContactFilter2D_t3805203441 * G_B3_0 = NULL;
  1663. ContactFilter2D_t3805203441 * G_B1_0 = NULL;
  1664. ContactFilter2D_t3805203441 * G_B2_0 = NULL;
  1665. ContactFilter2D_t3805203441 * G_B4_0 = NULL;
  1666. float G_B5_0 = 0.0f;
  1667. ContactFilter2D_t3805203441 * G_B5_1 = NULL;
  1668. ContactFilter2D_t3805203441 * G_B8_0 = NULL;
  1669. ContactFilter2D_t3805203441 * G_B6_0 = NULL;
  1670. ContactFilter2D_t3805203441 * G_B7_0 = NULL;
  1671. ContactFilter2D_t3805203441 * G_B9_0 = NULL;
  1672. float G_B10_0 = 0.0f;
  1673. ContactFilter2D_t3805203441 * G_B10_1 = NULL;
  1674. ContactFilter2D_t3805203441 * G_B14_0 = NULL;
  1675. ContactFilter2D_t3805203441 * G_B13_0 = NULL;
  1676. float G_B15_0 = 0.0f;
  1677. ContactFilter2D_t3805203441 * G_B15_1 = NULL;
  1678. ContactFilter2D_t3805203441 * G_B17_0 = NULL;
  1679. ContactFilter2D_t3805203441 * G_B16_0 = NULL;
  1680. float G_B18_0 = 0.0f;
  1681. ContactFilter2D_t3805203441 * G_B18_1 = NULL;
  1682. {
  1683. float L_0 = __this->get_minDepth_7();
  1684. G_B1_0 = __this;
  1685. if ((((float)L_0) == ((float)(-std::numeric_limits<float>::infinity()))))
  1686. {
  1687. G_B3_0 = __this;
  1688. goto IL_0032;
  1689. }
  1690. }
  1691. {
  1692. float L_1 = __this->get_minDepth_7();
  1693. G_B2_0 = G_B1_0;
  1694. if ((((float)L_1) == ((float)(std::numeric_limits<float>::infinity()))))
  1695. {
  1696. G_B3_0 = G_B1_0;
  1697. goto IL_0032;
  1698. }
  1699. }
  1700. {
  1701. float L_2 = __this->get_minDepth_7();
  1702. bool L_3 = Single_IsNaN_m4024467661(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
  1703. G_B3_0 = G_B2_0;
  1704. if (!L_3)
  1705. {
  1706. G_B4_0 = G_B2_0;
  1707. goto IL_003c;
  1708. }
  1709. }
  1710. IL_0032:
  1711. {
  1712. G_B5_0 = (-std::numeric_limits<float>::max());
  1713. G_B5_1 = G_B3_0;
  1714. goto IL_0042;
  1715. }
  1716. IL_003c:
  1717. {
  1718. float L_4 = __this->get_minDepth_7();
  1719. G_B5_0 = L_4;
  1720. G_B5_1 = G_B4_0;
  1721. }
  1722. IL_0042:
  1723. {
  1724. G_B5_1->set_minDepth_7(G_B5_0);
  1725. float L_5 = __this->get_maxDepth_8();
  1726. G_B6_0 = __this;
  1727. if ((((float)L_5) == ((float)(-std::numeric_limits<float>::infinity()))))
  1728. {
  1729. G_B8_0 = __this;
  1730. goto IL_0078;
  1731. }
  1732. }
  1733. {
  1734. float L_6 = __this->get_maxDepth_8();
  1735. G_B7_0 = G_B6_0;
  1736. if ((((float)L_6) == ((float)(std::numeric_limits<float>::infinity()))))
  1737. {
  1738. G_B8_0 = G_B6_0;
  1739. goto IL_0078;
  1740. }
  1741. }
  1742. {
  1743. float L_7 = __this->get_maxDepth_8();
  1744. bool L_8 = Single_IsNaN_m4024467661(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
  1745. G_B8_0 = G_B7_0;
  1746. if (!L_8)
  1747. {
  1748. G_B9_0 = G_B7_0;
  1749. goto IL_0082;
  1750. }
  1751. }
  1752. IL_0078:
  1753. {
  1754. G_B10_0 = (std::numeric_limits<float>::max());
  1755. G_B10_1 = G_B8_0;
  1756. goto IL_0088;
  1757. }
  1758. IL_0082:
  1759. {
  1760. float L_9 = __this->get_maxDepth_8();
  1761. G_B10_0 = L_9;
  1762. G_B10_1 = G_B9_0;
  1763. }
  1764. IL_0088:
  1765. {
  1766. G_B10_1->set_maxDepth_8(G_B10_0);
  1767. float L_10 = __this->get_minDepth_7();
  1768. float L_11 = __this->get_maxDepth_8();
  1769. if ((!(((float)L_10) > ((float)L_11))))
  1770. {
  1771. goto IL_00ba;
  1772. }
  1773. }
  1774. {
  1775. float L_12 = __this->get_minDepth_7();
  1776. V_0 = L_12;
  1777. float L_13 = __this->get_maxDepth_8();
  1778. __this->set_minDepth_7(L_13);
  1779. float L_14 = V_0;
  1780. __this->set_maxDepth_8(L_14);
  1781. }
  1782. IL_00ba:
  1783. {
  1784. float L_15 = __this->get_minNormalAngle_9();
  1785. bool L_16 = Single_IsNaN_m4024467661(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
  1786. G_B13_0 = __this;
  1787. if (!L_16)
  1788. {
  1789. G_B14_0 = __this;
  1790. goto IL_00d5;
  1791. }
  1792. }
  1793. {
  1794. G_B15_0 = (0.0f);
  1795. G_B15_1 = G_B13_0;
  1796. goto IL_00ea;
  1797. }
  1798. IL_00d5:
  1799. {
  1800. float L_17 = __this->get_minNormalAngle_9();
  1801. IL2CPP_RUNTIME_CLASS_INIT(Mathf_t3464937446_il2cpp_TypeInfo_var);
  1802. float L_18 = Mathf_Clamp_m3350697880(NULL /*static, unused*/, L_17, (0.0f), (359.9999f), /*hidden argument*/NULL);
  1803. G_B15_0 = L_18;
  1804. G_B15_1 = G_B14_0;
  1805. }
  1806. IL_00ea:
  1807. {
  1808. G_B15_1->set_minNormalAngle_9(G_B15_0);
  1809. float L_19 = __this->get_maxNormalAngle_10();
  1810. bool L_20 = Single_IsNaN_m4024467661(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
  1811. G_B16_0 = __this;
  1812. if (!L_20)
  1813. {
  1814. G_B17_0 = __this;
  1815. goto IL_010a;
  1816. }
  1817. }
  1818. {
  1819. G_B18_0 = (359.9999f);
  1820. G_B18_1 = G_B16_0;
  1821. goto IL_011f;
  1822. }
  1823. IL_010a:
  1824. {
  1825. float L_21 = __this->get_maxNormalAngle_10();
  1826. IL2CPP_RUNTIME_CLASS_INIT(Mathf_t3464937446_il2cpp_TypeInfo_var);
  1827. float L_22 = Mathf_Clamp_m3350697880(NULL /*static, unused*/, L_21, (0.0f), (359.9999f), /*hidden argument*/NULL);
  1828. G_B18_0 = L_22;
  1829. G_B18_1 = G_B17_0;
  1830. }
  1831. IL_011f:
  1832. {
  1833. G_B18_1->set_maxNormalAngle_10(G_B18_0);
  1834. float L_23 = __this->get_minNormalAngle_9();
  1835. float L_24 = __this->get_maxNormalAngle_10();
  1836. if ((!(((float)L_23) > ((float)L_24))))
  1837. {
  1838. goto IL_0151;
  1839. }
  1840. }
  1841. {
  1842. float L_25 = __this->get_minNormalAngle_9();
  1843. V_1 = L_25;
  1844. float L_26 = __this->get_maxNormalAngle_10();
  1845. __this->set_minNormalAngle_9(L_26);
  1846. float L_27 = V_1;
  1847. __this->set_maxNormalAngle_10(L_27);
  1848. }
  1849. IL_0151:
  1850. {
  1851. return;
  1852. }
  1853. }
  1854. extern "C" void ContactFilter2D_CheckConsistency_m222060761_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
  1855. {
  1856. ContactFilter2D_t3805203441 * _thisAdjusted = reinterpret_cast<ContactFilter2D_t3805203441 *>(__this + 1);
  1857. ContactFilter2D_CheckConsistency_m222060761(_thisAdjusted, method);
  1858. }
  1859. // System.Void UnityEngine.ContactFilter2D::SetLayerMask(UnityEngine.LayerMask)
  1860. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_SetLayerMask_m3440334821 (ContactFilter2D_t3805203441 * __this, LayerMask_t3493934918 ___layerMask0, const RuntimeMethod* method)
  1861. {
  1862. {
  1863. LayerMask_t3493934918 L_0 = ___layerMask0;
  1864. __this->set_layerMask_6(L_0);
  1865. __this->set_useLayerMask_1((bool)1);
  1866. return;
  1867. }
  1868. }
  1869. extern "C" void ContactFilter2D_SetLayerMask_m3440334821_AdjustorThunk (RuntimeObject * __this, LayerMask_t3493934918 ___layerMask0, const RuntimeMethod* method)
  1870. {
  1871. ContactFilter2D_t3805203441 * _thisAdjusted = reinterpret_cast<ContactFilter2D_t3805203441 *>(__this + 1);
  1872. ContactFilter2D_SetLayerMask_m3440334821(_thisAdjusted, ___layerMask0, method);
  1873. }
  1874. // System.Void UnityEngine.ContactFilter2D::SetDepth(System.Single,System.Single)
  1875. extern "C" IL2CPP_METHOD_ATTR void ContactFilter2D_SetDepth_m3691256496 (ContactFilter2D_t3805203441 * __this, float ___minDepth0, float ___maxDepth1, const RuntimeMethod* method)
  1876. {
  1877. {
  1878. float L_0 = ___minDepth0;
  1879. __this->set_minDepth_7(L_0);
  1880. float L_1 = ___maxDepth1;
  1881. __this->set_maxDepth_8(L_1);
  1882. __this->set_useDepth_2((bool)1);
  1883. ContactFilter2D_CheckConsistency_m222060761(__this, /*hidden argument*/NULL);
  1884. return;
  1885. }
  1886. }
  1887. extern "C" void ContactFilter2D_SetDepth_m3691256496_AdjustorThunk (RuntimeObject * __this, float ___minDepth0, float ___maxDepth1, const RuntimeMethod* method)
  1888. {
  1889. ContactFilter2D_t3805203441 * _thisAdjusted = reinterpret_cast<ContactFilter2D_t3805203441 *>(__this + 1);
  1890. ContactFilter2D_SetDepth_m3691256496(_thisAdjusted, ___minDepth0, ___maxDepth1, method);
  1891. }
  1892. // UnityEngine.ContactFilter2D UnityEngine.ContactFilter2D::CreateLegacyFilter(System.Int32,System.Single,System.Single)
  1893. extern "C" IL2CPP_METHOD_ATTR ContactFilter2D_t3805203441 ContactFilter2D_CreateLegacyFilter_m1873816896 (RuntimeObject * __this /* static, unused */, int32_t ___layerMask0, float ___minDepth1, float ___maxDepth2, const RuntimeMethod* method)
  1894. {
  1895. static bool s_Il2CppMethodInitialized;
  1896. if (!s_Il2CppMethodInitialized)
  1897. {
  1898. il2cpp_codegen_initialize_method (ContactFilter2D_CreateLegacyFilter_m1873816896_MetadataUsageId);
  1899. s_Il2CppMethodInitialized = true;
  1900. }
  1901. ContactFilter2D_t3805203441 V_0;
  1902. memset(&V_0, 0, sizeof(V_0));
  1903. ContactFilter2D_t3805203441 V_1;
  1904. memset(&V_1, 0, sizeof(V_1));
  1905. {
  1906. il2cpp_codegen_initobj((&V_0), sizeof(ContactFilter2D_t3805203441 ));
  1907. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  1908. bool L_0 = Physics2D_get_queriesHitTriggers_m1249674012(NULL /*static, unused*/, /*hidden argument*/NULL);
  1909. (&V_0)->set_useTriggers_0(L_0);
  1910. int32_t L_1 = ___layerMask0;
  1911. LayerMask_t3493934918 L_2 = LayerMask_op_Implicit_m90232283(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
  1912. ContactFilter2D_SetLayerMask_m3440334821((&V_0), L_2, /*hidden argument*/NULL);
  1913. float L_3 = ___minDepth1;
  1914. float L_4 = ___maxDepth2;
  1915. ContactFilter2D_SetDepth_m3691256496((&V_0), L_3, L_4, /*hidden argument*/NULL);
  1916. ContactFilter2D_t3805203441 L_5 = V_0;
  1917. V_1 = L_5;
  1918. goto IL_0032;
  1919. }
  1920. IL_0032:
  1921. {
  1922. ContactFilter2D_t3805203441 L_6 = V_1;
  1923. return L_6;
  1924. }
  1925. }
  1926. #ifdef __clang__
  1927. #pragma clang diagnostic pop
  1928. #endif
  1929. #ifdef __clang__
  1930. #pragma clang diagnostic push
  1931. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1932. #pragma clang diagnostic ignored "-Wunused-variable"
  1933. #endif
  1934. #ifdef __clang__
  1935. #pragma clang diagnostic pop
  1936. #endif
  1937. #ifdef __clang__
  1938. #pragma clang diagnostic push
  1939. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1940. #pragma clang diagnostic ignored "-Wunused-variable"
  1941. #endif
  1942. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32,System.Single)
  1943. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m1728056151 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, int32_t ___layerMask3, float ___minDepth4, const RuntimeMethod* method)
  1944. {
  1945. static bool s_Il2CppMethodInitialized;
  1946. if (!s_Il2CppMethodInitialized)
  1947. {
  1948. il2cpp_codegen_initialize_method (Physics2D_Raycast_m1728056151_MetadataUsageId);
  1949. s_Il2CppMethodInitialized = true;
  1950. }
  1951. float V_0 = 0.0f;
  1952. RaycastHit2D_t2279581989 V_1;
  1953. memset(&V_1, 0, sizeof(V_1));
  1954. {
  1955. V_0 = (std::numeric_limits<float>::infinity());
  1956. Vector2_t2156229523 L_0 = ___origin0;
  1957. Vector2_t2156229523 L_1 = ___direction1;
  1958. float L_2 = ___distance2;
  1959. int32_t L_3 = ___layerMask3;
  1960. float L_4 = ___minDepth4;
  1961. float L_5 = V_0;
  1962. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  1963. RaycastHit2D_t2279581989 L_6 = Physics2D_Raycast_m1407159225(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
  1964. V_1 = L_6;
  1965. goto IL_0019;
  1966. }
  1967. IL_0019:
  1968. {
  1969. RaycastHit2D_t2279581989 L_7 = V_1;
  1970. return L_7;
  1971. }
  1972. }
  1973. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32)
  1974. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m2858866636 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, int32_t ___layerMask3, const RuntimeMethod* method)
  1975. {
  1976. static bool s_Il2CppMethodInitialized;
  1977. if (!s_Il2CppMethodInitialized)
  1978. {
  1979. il2cpp_codegen_initialize_method (Physics2D_Raycast_m2858866636_MetadataUsageId);
  1980. s_Il2CppMethodInitialized = true;
  1981. }
  1982. float V_0 = 0.0f;
  1983. float V_1 = 0.0f;
  1984. RaycastHit2D_t2279581989 V_2;
  1985. memset(&V_2, 0, sizeof(V_2));
  1986. {
  1987. V_0 = (std::numeric_limits<float>::infinity());
  1988. V_1 = (-std::numeric_limits<float>::infinity());
  1989. Vector2_t2156229523 L_0 = ___origin0;
  1990. Vector2_t2156229523 L_1 = ___direction1;
  1991. float L_2 = ___distance2;
  1992. int32_t L_3 = ___layerMask3;
  1993. float L_4 = V_1;
  1994. float L_5 = V_0;
  1995. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  1996. RaycastHit2D_t2279581989 L_6 = Physics2D_Raycast_m1407159225(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
  1997. V_2 = L_6;
  1998. goto IL_001e;
  1999. }
  2000. IL_001e:
  2001. {
  2002. RaycastHit2D_t2279581989 L_7 = V_2;
  2003. return L_7;
  2004. }
  2005. }
  2006. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single)
  2007. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m2082490717 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, const RuntimeMethod* method)
  2008. {
  2009. static bool s_Il2CppMethodInitialized;
  2010. if (!s_Il2CppMethodInitialized)
  2011. {
  2012. il2cpp_codegen_initialize_method (Physics2D_Raycast_m2082490717_MetadataUsageId);
  2013. s_Il2CppMethodInitialized = true;
  2014. }
  2015. float V_0 = 0.0f;
  2016. float V_1 = 0.0f;
  2017. int32_t V_2 = 0;
  2018. RaycastHit2D_t2279581989 V_3;
  2019. memset(&V_3, 0, sizeof(V_3));
  2020. {
  2021. V_0 = (std::numeric_limits<float>::infinity());
  2022. V_1 = (-std::numeric_limits<float>::infinity());
  2023. V_2 = ((int32_t)-5);
  2024. Vector2_t2156229523 L_0 = ___origin0;
  2025. Vector2_t2156229523 L_1 = ___direction1;
  2026. float L_2 = ___distance2;
  2027. int32_t L_3 = V_2;
  2028. float L_4 = V_1;
  2029. float L_5 = V_0;
  2030. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2031. RaycastHit2D_t2279581989 L_6 = Physics2D_Raycast_m1407159225(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
  2032. V_3 = L_6;
  2033. goto IL_0021;
  2034. }
  2035. IL_0021:
  2036. {
  2037. RaycastHit2D_t2279581989 L_7 = V_3;
  2038. return L_7;
  2039. }
  2040. }
  2041. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2)
  2042. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m2341153778 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, const RuntimeMethod* method)
  2043. {
  2044. static bool s_Il2CppMethodInitialized;
  2045. if (!s_Il2CppMethodInitialized)
  2046. {
  2047. il2cpp_codegen_initialize_method (Physics2D_Raycast_m2341153778_MetadataUsageId);
  2048. s_Il2CppMethodInitialized = true;
  2049. }
  2050. float V_0 = 0.0f;
  2051. float V_1 = 0.0f;
  2052. int32_t V_2 = 0;
  2053. float V_3 = 0.0f;
  2054. RaycastHit2D_t2279581989 V_4;
  2055. memset(&V_4, 0, sizeof(V_4));
  2056. {
  2057. V_0 = (std::numeric_limits<float>::infinity());
  2058. V_1 = (-std::numeric_limits<float>::infinity());
  2059. V_2 = ((int32_t)-5);
  2060. V_3 = (std::numeric_limits<float>::infinity());
  2061. Vector2_t2156229523 L_0 = ___origin0;
  2062. Vector2_t2156229523 L_1 = ___direction1;
  2063. float L_2 = V_3;
  2064. int32_t L_3 = V_2;
  2065. float L_4 = V_1;
  2066. float L_5 = V_0;
  2067. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2068. RaycastHit2D_t2279581989 L_6 = Physics2D_Raycast_m1407159225(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
  2069. V_4 = L_6;
  2070. goto IL_0028;
  2071. }
  2072. IL_0028:
  2073. {
  2074. RaycastHit2D_t2279581989 L_7 = V_4;
  2075. return L_7;
  2076. }
  2077. }
  2078. // UnityEngine.RaycastHit2D UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Single)
  2079. extern "C" IL2CPP_METHOD_ATTR RaycastHit2D_t2279581989 Physics2D_Raycast_m1407159225 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, int32_t ___layerMask3, float ___minDepth4, float ___maxDepth5, const RuntimeMethod* method)
  2080. {
  2081. static bool s_Il2CppMethodInitialized;
  2082. if (!s_Il2CppMethodInitialized)
  2083. {
  2084. il2cpp_codegen_initialize_method (Physics2D_Raycast_m1407159225_MetadataUsageId);
  2085. s_Il2CppMethodInitialized = true;
  2086. }
  2087. ContactFilter2D_t3805203441 V_0;
  2088. memset(&V_0, 0, sizeof(V_0));
  2089. RaycastHit2D_t2279581989 V_1;
  2090. memset(&V_1, 0, sizeof(V_1));
  2091. RaycastHit2D_t2279581989 V_2;
  2092. memset(&V_2, 0, sizeof(V_2));
  2093. {
  2094. int32_t L_0 = ___layerMask3;
  2095. float L_1 = ___minDepth4;
  2096. float L_2 = ___maxDepth5;
  2097. ContactFilter2D_t3805203441 L_3 = ContactFilter2D_CreateLegacyFilter_m1873816896(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL);
  2098. V_0 = L_3;
  2099. Vector2_t2156229523 L_4 = ___origin0;
  2100. Vector2_t2156229523 L_5 = ___direction1;
  2101. float L_6 = ___distance2;
  2102. ContactFilter2D_t3805203441 L_7 = V_0;
  2103. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2104. Physics2D_Internal_Raycast_m1768014582(NULL /*static, unused*/, L_4, L_5, L_6, L_7, (&V_1), /*hidden argument*/NULL);
  2105. RaycastHit2D_t2279581989 L_8 = V_1;
  2106. V_2 = L_8;
  2107. goto IL_001e;
  2108. }
  2109. IL_001e:
  2110. {
  2111. RaycastHit2D_t2279581989 L_9 = V_2;
  2112. return L_9;
  2113. }
  2114. }
  2115. // System.Int32 UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D[])
  2116. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_Raycast_m1377762210 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, ContactFilter2D_t3805203441 ___contactFilter2, RaycastHit2DU5BU5D_t4286651560* ___results3, const RuntimeMethod* method)
  2117. {
  2118. static bool s_Il2CppMethodInitialized;
  2119. if (!s_Il2CppMethodInitialized)
  2120. {
  2121. il2cpp_codegen_initialize_method (Physics2D_Raycast_m1377762210_MetadataUsageId);
  2122. s_Il2CppMethodInitialized = true;
  2123. }
  2124. float V_0 = 0.0f;
  2125. int32_t V_1 = 0;
  2126. {
  2127. V_0 = (std::numeric_limits<float>::infinity());
  2128. Vector2_t2156229523 L_0 = ___origin0;
  2129. Vector2_t2156229523 L_1 = ___direction1;
  2130. ContactFilter2D_t3805203441 L_2 = ___contactFilter2;
  2131. RaycastHit2DU5BU5D_t4286651560* L_3 = ___results3;
  2132. float L_4 = V_0;
  2133. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2134. int32_t L_5 = Physics2D_Raycast_m1700114981(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
  2135. V_1 = L_5;
  2136. goto IL_0017;
  2137. }
  2138. IL_0017:
  2139. {
  2140. int32_t L_6 = V_1;
  2141. return L_6;
  2142. }
  2143. }
  2144. // System.Int32 UnityEngine.Physics2D::Raycast(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D[],System.Single)
  2145. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_Raycast_m1700114981 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, ContactFilter2D_t3805203441 ___contactFilter2, RaycastHit2DU5BU5D_t4286651560* ___results3, float ___distance4, const RuntimeMethod* method)
  2146. {
  2147. static bool s_Il2CppMethodInitialized;
  2148. if (!s_Il2CppMethodInitialized)
  2149. {
  2150. il2cpp_codegen_initialize_method (Physics2D_Raycast_m1700114981_MetadataUsageId);
  2151. s_Il2CppMethodInitialized = true;
  2152. }
  2153. int32_t V_0 = 0;
  2154. {
  2155. Vector2_t2156229523 L_0 = ___origin0;
  2156. Vector2_t2156229523 L_1 = ___direction1;
  2157. float L_2 = ___distance4;
  2158. ContactFilter2D_t3805203441 L_3 = ___contactFilter2;
  2159. RaycastHit2DU5BU5D_t4286651560* L_4 = ___results3;
  2160. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2161. int32_t L_5 = Physics2D_Internal_RaycastNonAlloc_m3815006984(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
  2162. V_0 = L_5;
  2163. goto IL_0012;
  2164. }
  2165. IL_0012:
  2166. {
  2167. int32_t L_6 = V_0;
  2168. return L_6;
  2169. }
  2170. }
  2171. // System.Void UnityEngine.Physics2D::Internal_Raycast(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D&)
  2172. extern "C" IL2CPP_METHOD_ATTR void Physics2D_Internal_Raycast_m1768014582 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, ContactFilter2D_t3805203441 ___contactFilter3, RaycastHit2D_t2279581989 * ___raycastHit4, const RuntimeMethod* method)
  2173. {
  2174. static bool s_Il2CppMethodInitialized;
  2175. if (!s_Il2CppMethodInitialized)
  2176. {
  2177. il2cpp_codegen_initialize_method (Physics2D_Internal_Raycast_m1768014582_MetadataUsageId);
  2178. s_Il2CppMethodInitialized = true;
  2179. }
  2180. {
  2181. float L_0 = ___distance2;
  2182. RaycastHit2D_t2279581989 * L_1 = ___raycastHit4;
  2183. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2184. Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924(NULL /*static, unused*/, (&___origin0), (&___direction1), L_0, (&___contactFilter3), L_1, /*hidden argument*/NULL);
  2185. return;
  2186. }
  2187. }
  2188. // System.Void UnityEngine.Physics2D::INTERNAL_CALL_Internal_Raycast(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D&)
  2189. extern "C" IL2CPP_METHOD_ATTR void Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 * ___origin0, Vector2_t2156229523 * ___direction1, float ___distance2, ContactFilter2D_t3805203441 * ___contactFilter3, RaycastHit2D_t2279581989 * ___raycastHit4, const RuntimeMethod* method)
  2190. {
  2191. typedef void (*Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924_ftn) (Vector2_t2156229523 *, Vector2_t2156229523 *, float, ContactFilter2D_t3805203441 *, RaycastHit2D_t2279581989 *);
  2192. static Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924_ftn _il2cpp_icall_func;
  2193. if (!_il2cpp_icall_func)
  2194. _il2cpp_icall_func = (Physics2D_INTERNAL_CALL_Internal_Raycast_m3296033924_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Physics2D::INTERNAL_CALL_Internal_Raycast(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D&)");
  2195. _il2cpp_icall_func(___origin0, ___direction1, ___distance2, ___contactFilter3, ___raycastHit4);
  2196. }
  2197. // System.Int32 UnityEngine.Physics2D::Internal_RaycastNonAlloc(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,UnityEngine.ContactFilter2D,UnityEngine.RaycastHit2D[])
  2198. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_Internal_RaycastNonAlloc_m3815006984 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 ___origin0, Vector2_t2156229523 ___direction1, float ___distance2, ContactFilter2D_t3805203441 ___contactFilter3, RaycastHit2DU5BU5D_t4286651560* ___results4, const RuntimeMethod* method)
  2199. {
  2200. static bool s_Il2CppMethodInitialized;
  2201. if (!s_Il2CppMethodInitialized)
  2202. {
  2203. il2cpp_codegen_initialize_method (Physics2D_Internal_RaycastNonAlloc_m3815006984_MetadataUsageId);
  2204. s_Il2CppMethodInitialized = true;
  2205. }
  2206. int32_t V_0 = 0;
  2207. {
  2208. float L_0 = ___distance2;
  2209. RaycastHit2DU5BU5D_t4286651560* L_1 = ___results4;
  2210. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2211. int32_t L_2 = Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606(NULL /*static, unused*/, (&___origin0), (&___direction1), L_0, (&___contactFilter3), L_1, /*hidden argument*/NULL);
  2212. V_0 = L_2;
  2213. goto IL_0015;
  2214. }
  2215. IL_0015:
  2216. {
  2217. int32_t L_3 = V_0;
  2218. return L_3;
  2219. }
  2220. }
  2221. // System.Int32 UnityEngine.Physics2D::INTERNAL_CALL_Internal_RaycastNonAlloc(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D[])
  2222. extern "C" IL2CPP_METHOD_ATTR int32_t Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 * ___origin0, Vector2_t2156229523 * ___direction1, float ___distance2, ContactFilter2D_t3805203441 * ___contactFilter3, RaycastHit2DU5BU5D_t4286651560* ___results4, const RuntimeMethod* method)
  2223. {
  2224. typedef int32_t (*Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606_ftn) (Vector2_t2156229523 *, Vector2_t2156229523 *, float, ContactFilter2D_t3805203441 *, RaycastHit2DU5BU5D_t4286651560*);
  2225. static Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606_ftn _il2cpp_icall_func;
  2226. if (!_il2cpp_icall_func)
  2227. _il2cpp_icall_func = (Physics2D_INTERNAL_CALL_Internal_RaycastNonAlloc_m688510606_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Physics2D::INTERNAL_CALL_Internal_RaycastNonAlloc(UnityEngine.Vector2&,UnityEngine.Vector2&,System.Single,UnityEngine.ContactFilter2D&,UnityEngine.RaycastHit2D[])");
  2228. int32_t retVal = _il2cpp_icall_func(___origin0, ___direction1, ___distance2, ___contactFilter3, ___results4);
  2229. return retVal;
  2230. }
  2231. // UnityEngine.RaycastHit2D[] UnityEngine.Physics2D::GetRayIntersectionAll(UnityEngine.Ray,System.Single,System.Int32)
  2232. extern "C" IL2CPP_METHOD_ATTR RaycastHit2DU5BU5D_t4286651560* Physics2D_GetRayIntersectionAll_m2567878449 (RuntimeObject * __this /* static, unused */, Ray_t3785851493 ___ray0, float ___distance1, int32_t ___layerMask2, const RuntimeMethod* method)
  2233. {
  2234. static bool s_Il2CppMethodInitialized;
  2235. if (!s_Il2CppMethodInitialized)
  2236. {
  2237. il2cpp_codegen_initialize_method (Physics2D_GetRayIntersectionAll_m2567878449_MetadataUsageId);
  2238. s_Il2CppMethodInitialized = true;
  2239. }
  2240. RaycastHit2DU5BU5D_t4286651560* V_0 = NULL;
  2241. {
  2242. float L_0 = ___distance1;
  2243. int32_t L_1 = ___layerMask2;
  2244. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2245. RaycastHit2DU5BU5D_t4286651560* L_2 = Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977(NULL /*static, unused*/, (&___ray0), L_0, L_1, /*hidden argument*/NULL);
  2246. V_0 = L_2;
  2247. goto IL_0010;
  2248. }
  2249. IL_0010:
  2250. {
  2251. RaycastHit2DU5BU5D_t4286651560* L_3 = V_0;
  2252. return L_3;
  2253. }
  2254. }
  2255. // UnityEngine.RaycastHit2D[] UnityEngine.Physics2D::GetRayIntersectionAll(UnityEngine.Ray,System.Single)
  2256. extern "C" IL2CPP_METHOD_ATTR RaycastHit2DU5BU5D_t4286651560* Physics2D_GetRayIntersectionAll_m1670084419 (RuntimeObject * __this /* static, unused */, Ray_t3785851493 ___ray0, float ___distance1, const RuntimeMethod* method)
  2257. {
  2258. static bool s_Il2CppMethodInitialized;
  2259. if (!s_Il2CppMethodInitialized)
  2260. {
  2261. il2cpp_codegen_initialize_method (Physics2D_GetRayIntersectionAll_m1670084419_MetadataUsageId);
  2262. s_Il2CppMethodInitialized = true;
  2263. }
  2264. int32_t V_0 = 0;
  2265. RaycastHit2DU5BU5D_t4286651560* V_1 = NULL;
  2266. {
  2267. V_0 = ((int32_t)-5);
  2268. float L_0 = ___distance1;
  2269. int32_t L_1 = V_0;
  2270. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2271. RaycastHit2DU5BU5D_t4286651560* L_2 = Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977(NULL /*static, unused*/, (&___ray0), L_0, L_1, /*hidden argument*/NULL);
  2272. V_1 = L_2;
  2273. goto IL_0013;
  2274. }
  2275. IL_0013:
  2276. {
  2277. RaycastHit2DU5BU5D_t4286651560* L_3 = V_1;
  2278. return L_3;
  2279. }
  2280. }
  2281. // UnityEngine.RaycastHit2D[] UnityEngine.Physics2D::GetRayIntersectionAll(UnityEngine.Ray)
  2282. extern "C" IL2CPP_METHOD_ATTR RaycastHit2DU5BU5D_t4286651560* Physics2D_GetRayIntersectionAll_m1507505063 (RuntimeObject * __this /* static, unused */, Ray_t3785851493 ___ray0, const RuntimeMethod* method)
  2283. {
  2284. static bool s_Il2CppMethodInitialized;
  2285. if (!s_Il2CppMethodInitialized)
  2286. {
  2287. il2cpp_codegen_initialize_method (Physics2D_GetRayIntersectionAll_m1507505063_MetadataUsageId);
  2288. s_Il2CppMethodInitialized = true;
  2289. }
  2290. int32_t V_0 = 0;
  2291. float V_1 = 0.0f;
  2292. RaycastHit2DU5BU5D_t4286651560* V_2 = NULL;
  2293. {
  2294. V_0 = ((int32_t)-5);
  2295. V_1 = (std::numeric_limits<float>::infinity());
  2296. float L_0 = V_1;
  2297. int32_t L_1 = V_0;
  2298. IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t1528932956_il2cpp_TypeInfo_var);
  2299. RaycastHit2DU5BU5D_t4286651560* L_2 = Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977(NULL /*static, unused*/, (&___ray0), L_0, L_1, /*hidden argument*/NULL);
  2300. V_2 = L_2;
  2301. goto IL_0019;
  2302. }
  2303. IL_0019:
  2304. {
  2305. RaycastHit2DU5BU5D_t4286651560* L_3 = V_2;
  2306. return L_3;
  2307. }
  2308. }
  2309. // UnityEngine.RaycastHit2D[] UnityEngine.Physics2D::INTERNAL_CALL_GetRayIntersectionAll(UnityEngine.Ray&,System.Single,System.Int32)
  2310. extern "C" IL2CPP_METHOD_ATTR RaycastHit2DU5BU5D_t4286651560* Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977 (RuntimeObject * __this /* static, unused */, Ray_t3785851493 * ___ray0, float ___distance1, int32_t ___layerMask2, const RuntimeMethod* method)
  2311. {
  2312. typedef RaycastHit2DU5BU5D_t4286651560* (*Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977_ftn) (Ray_t3785851493 *, float, int32_t);
  2313. static Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977_ftn _il2cpp_icall_func;
  2314. if (!_il2cpp_icall_func)
  2315. _il2cpp_icall_func = (Physics2D_INTERNAL_CALL_GetRayIntersectionAll_m1016589977_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Physics2D::INTERNAL_CALL_GetRayIntersectionAll(UnityEngine.Ray&,System.Single,System.Int32)");
  2316. RaycastHit2DU5BU5D_t4286651560* retVal = _il2cpp_icall_func(___ray0, ___distance1, ___layerMask2);
  2317. return retVal;
  2318. }
  2319. // System.Boolean UnityEngine.Physics2D::get_queriesHitTriggers()
  2320. extern "C" IL2CPP_METHOD_ATTR bool Physics2D_get_queriesHitTriggers_m1249674012 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  2321. {
  2322. typedef bool (*Physics2D_get_queriesHitTriggers_m1249674012_ftn) ();
  2323. static Physics2D_get_queriesHitTriggers_m1249674012_ftn _il2cpp_icall_func;
  2324. if (!_il2cpp_icall_func)
  2325. _il2cpp_icall_func = (Physics2D_get_queriesHitTriggers_m1249674012_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Physics2D::get_queriesHitTriggers()");
  2326. bool retVal = _il2cpp_icall_func();
  2327. return retVal;
  2328. }
  2329. // System.Void UnityEngine.Physics2D::.cctor()
  2330. extern "C" IL2CPP_METHOD_ATTR void Physics2D__cctor_m143866755 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  2331. {
  2332. static bool s_Il2CppMethodInitialized;
  2333. if (!s_Il2CppMethodInitialized)
  2334. {
  2335. il2cpp_codegen_initialize_method (Physics2D__cctor_m143866755_MetadataUsageId);
  2336. s_Il2CppMethodInitialized = true;
  2337. }
  2338. {
  2339. List_1_t2411569343 * L_0 = (List_1_t2411569343 *)il2cpp_codegen_object_new(List_1_t2411569343_il2cpp_TypeInfo_var);
  2340. List_1__ctor_m2466177744(L_0, /*hidden argument*/List_1__ctor_m2466177744_RuntimeMethod_var);
  2341. ((Physics2D_t1528932956_StaticFields*)il2cpp_codegen_static_fields_for(Physics2D_t1528932956_il2cpp_TypeInfo_var))->set_m_LastDisabledRigidbody2D_0(L_0);
  2342. return;
  2343. }
  2344. }
  2345. #ifdef __clang__
  2346. #pragma clang diagnostic pop
  2347. #endif
  2348. #ifdef __clang__
  2349. #pragma clang diagnostic push
  2350. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2351. #pragma clang diagnostic ignored "-Wunused-variable"
  2352. #endif
  2353. // Conversion methods for marshalling of: UnityEngine.RaycastHit2D
  2354. extern "C" void RaycastHit2D_t2279581989_marshal_pinvoke(const RaycastHit2D_t2279581989& unmarshaled, RaycastHit2D_t2279581989_marshaled_pinvoke& marshaled)
  2355. {
  2356. Exception_t* ___m_Collider_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Collider' of type 'RaycastHit2D': Reference type field marshaling is not supported.");
  2357. IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Collider_5Exception,NULL);
  2358. }
  2359. extern "C" void RaycastHit2D_t2279581989_marshal_pinvoke_back(const RaycastHit2D_t2279581989_marshaled_pinvoke& marshaled, RaycastHit2D_t2279581989& unmarshaled)
  2360. {
  2361. Exception_t* ___m_Collider_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Collider' of type 'RaycastHit2D': Reference type field marshaling is not supported.");
  2362. IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Collider_5Exception,NULL);
  2363. }
  2364. // Conversion method for clean up from marshalling of: UnityEngine.RaycastHit2D
  2365. extern "C" void RaycastHit2D_t2279581989_marshal_pinvoke_cleanup(RaycastHit2D_t2279581989_marshaled_pinvoke& marshaled)
  2366. {
  2367. }
  2368. // Conversion methods for marshalling of: UnityEngine.RaycastHit2D
  2369. extern "C" void RaycastHit2D_t2279581989_marshal_com(const RaycastHit2D_t2279581989& unmarshaled, RaycastHit2D_t2279581989_marshaled_com& marshaled)
  2370. {
  2371. Exception_t* ___m_Collider_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Collider' of type 'RaycastHit2D': Reference type field marshaling is not supported.");
  2372. IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Collider_5Exception,NULL);
  2373. }
  2374. extern "C" void RaycastHit2D_t2279581989_marshal_com_back(const RaycastHit2D_t2279581989_marshaled_com& marshaled, RaycastHit2D_t2279581989& unmarshaled)
  2375. {
  2376. Exception_t* ___m_Collider_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_Collider' of type 'RaycastHit2D': Reference type field marshaling is not supported.");
  2377. IL2CPP_RAISE_MANAGED_EXCEPTION(___m_Collider_5Exception,NULL);
  2378. }
  2379. // Conversion method for clean up from marshalling of: UnityEngine.RaycastHit2D
  2380. extern "C" void RaycastHit2D_t2279581989_marshal_com_cleanup(RaycastHit2D_t2279581989_marshaled_com& marshaled)
  2381. {
  2382. }
  2383. #ifdef __clang__
  2384. #pragma clang diagnostic pop
  2385. #endif
  2386. #ifdef __clang__
  2387. #pragma clang diagnostic push
  2388. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  2389. #pragma clang diagnostic ignored "-Wunused-variable"
  2390. #endif
  2391. #ifdef __clang__
  2392. #pragma clang diagnostic pop
  2393. #endif