Bulk_UnityEngine.TerrainModule_0.cpp 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  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.Terrain
  18. struct Terrain_t3055443660;
  19. // UnityEngine.TerrainData
  20. struct TerrainData_t657004131;
  21. // System.Char[]
  22. struct CharU5BU5D_t3528271667;
  23. // System.Void
  24. struct Void_t1185182177;
  25. extern RuntimeClass* TerrainData_t657004131_il2cpp_TypeInfo_var;
  26. extern const uint32_t TerrainData__cctor_m2936165929_MetadataUsageId;
  27. #ifndef U3CMODULEU3E_T692745546_H
  28. #define U3CMODULEU3E_T692745546_H
  29. #ifdef __clang__
  30. #pragma clang diagnostic push
  31. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  32. #pragma clang diagnostic ignored "-Wunused-variable"
  33. #endif
  34. // <Module>
  35. struct U3CModuleU3E_t692745546
  36. {
  37. public:
  38. public:
  39. };
  40. #ifdef __clang__
  41. #pragma clang diagnostic pop
  42. #endif
  43. #endif // U3CMODULEU3E_T692745546_H
  44. #ifndef RUNTIMEOBJECT_H
  45. #define RUNTIMEOBJECT_H
  46. #ifdef __clang__
  47. #pragma clang diagnostic push
  48. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  49. #pragma clang diagnostic ignored "-Wunused-variable"
  50. #endif
  51. // System.Object
  52. #ifdef __clang__
  53. #pragma clang diagnostic pop
  54. #endif
  55. #endif // RUNTIMEOBJECT_H
  56. struct Il2CppArrayBounds;
  57. #ifndef RUNTIMEARRAY_H
  58. #define RUNTIMEARRAY_H
  59. #ifdef __clang__
  60. #pragma clang diagnostic push
  61. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  62. #pragma clang diagnostic ignored "-Wunused-variable"
  63. #endif
  64. // System.Array
  65. #ifdef __clang__
  66. #pragma clang diagnostic pop
  67. #endif
  68. #endif // RUNTIMEARRAY_H
  69. #ifndef VALUETYPE_T3640485471_H
  70. #define VALUETYPE_T3640485471_H
  71. #ifdef __clang__
  72. #pragma clang diagnostic push
  73. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  74. #pragma clang diagnostic ignored "-Wunused-variable"
  75. #endif
  76. // System.ValueType
  77. struct ValueType_t3640485471 : public RuntimeObject
  78. {
  79. public:
  80. public:
  81. };
  82. #ifdef __clang__
  83. #pragma clang diagnostic pop
  84. #endif
  85. // Native definition for P/Invoke marshalling of System.ValueType
  86. struct ValueType_t3640485471_marshaled_pinvoke
  87. {
  88. };
  89. // Native definition for COM marshalling of System.ValueType
  90. struct ValueType_t3640485471_marshaled_com
  91. {
  92. };
  93. #endif // VALUETYPE_T3640485471_H
  94. #ifndef ENUM_T4135868527_H
  95. #define ENUM_T4135868527_H
  96. #ifdef __clang__
  97. #pragma clang diagnostic push
  98. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  99. #pragma clang diagnostic ignored "-Wunused-variable"
  100. #endif
  101. // System.Enum
  102. struct Enum_t4135868527 : public ValueType_t3640485471
  103. {
  104. public:
  105. public:
  106. };
  107. struct Enum_t4135868527_StaticFields
  108. {
  109. public:
  110. // System.Char[] System.Enum::split_char
  111. CharU5BU5D_t3528271667* ___split_char_0;
  112. public:
  113. inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
  114. inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
  115. inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
  116. inline void set_split_char_0(CharU5BU5D_t3528271667* value)
  117. {
  118. ___split_char_0 = value;
  119. Il2CppCodeGenWriteBarrier((&___split_char_0), value);
  120. }
  121. };
  122. #ifdef __clang__
  123. #pragma clang diagnostic pop
  124. #endif
  125. // Native definition for P/Invoke marshalling of System.Enum
  126. struct Enum_t4135868527_marshaled_pinvoke
  127. {
  128. };
  129. // Native definition for COM marshalling of System.Enum
  130. struct Enum_t4135868527_marshaled_com
  131. {
  132. };
  133. #endif // ENUM_T4135868527_H
  134. #ifndef SINGLE_T1397266774_H
  135. #define SINGLE_T1397266774_H
  136. #ifdef __clang__
  137. #pragma clang diagnostic push
  138. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  139. #pragma clang diagnostic ignored "-Wunused-variable"
  140. #endif
  141. // System.Single
  142. struct Single_t1397266774
  143. {
  144. public:
  145. // System.Single System.Single::m_value
  146. float ___m_value_7;
  147. public:
  148. inline static int32_t get_offset_of_m_value_7() { return static_cast<int32_t>(offsetof(Single_t1397266774, ___m_value_7)); }
  149. inline float get_m_value_7() const { return ___m_value_7; }
  150. inline float* get_address_of_m_value_7() { return &___m_value_7; }
  151. inline void set_m_value_7(float value)
  152. {
  153. ___m_value_7 = value;
  154. }
  155. };
  156. #ifdef __clang__
  157. #pragma clang diagnostic pop
  158. #endif
  159. #endif // SINGLE_T1397266774_H
  160. #ifndef INTPTR_T_H
  161. #define INTPTR_T_H
  162. #ifdef __clang__
  163. #pragma clang diagnostic push
  164. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  165. #pragma clang diagnostic ignored "-Wunused-variable"
  166. #endif
  167. // System.IntPtr
  168. struct IntPtr_t
  169. {
  170. public:
  171. // System.Void* System.IntPtr::m_value
  172. void* ___m_value_0;
  173. public:
  174. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  175. inline void* get_m_value_0() const { return ___m_value_0; }
  176. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  177. inline void set_m_value_0(void* value)
  178. {
  179. ___m_value_0 = value;
  180. }
  181. };
  182. struct IntPtr_t_StaticFields
  183. {
  184. public:
  185. // System.IntPtr System.IntPtr::Zero
  186. intptr_t ___Zero_1;
  187. public:
  188. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  189. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  190. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  191. inline void set_Zero_1(intptr_t value)
  192. {
  193. ___Zero_1 = value;
  194. }
  195. };
  196. #ifdef __clang__
  197. #pragma clang diagnostic pop
  198. #endif
  199. #endif // INTPTR_T_H
  200. #ifndef VECTOR4_T3319028937_H
  201. #define VECTOR4_T3319028937_H
  202. #ifdef __clang__
  203. #pragma clang diagnostic push
  204. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  205. #pragma clang diagnostic ignored "-Wunused-variable"
  206. #endif
  207. // UnityEngine.Vector4
  208. struct Vector4_t3319028937
  209. {
  210. public:
  211. // System.Single UnityEngine.Vector4::x
  212. float ___x_1;
  213. // System.Single UnityEngine.Vector4::y
  214. float ___y_2;
  215. // System.Single UnityEngine.Vector4::z
  216. float ___z_3;
  217. // System.Single UnityEngine.Vector4::w
  218. float ___w_4;
  219. public:
  220. inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___x_1)); }
  221. inline float get_x_1() const { return ___x_1; }
  222. inline float* get_address_of_x_1() { return &___x_1; }
  223. inline void set_x_1(float value)
  224. {
  225. ___x_1 = value;
  226. }
  227. inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___y_2)); }
  228. inline float get_y_2() const { return ___y_2; }
  229. inline float* get_address_of_y_2() { return &___y_2; }
  230. inline void set_y_2(float value)
  231. {
  232. ___y_2 = value;
  233. }
  234. inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___z_3)); }
  235. inline float get_z_3() const { return ___z_3; }
  236. inline float* get_address_of_z_3() { return &___z_3; }
  237. inline void set_z_3(float value)
  238. {
  239. ___z_3 = value;
  240. }
  241. inline static int32_t get_offset_of_w_4() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___w_4)); }
  242. inline float get_w_4() const { return ___w_4; }
  243. inline float* get_address_of_w_4() { return &___w_4; }
  244. inline void set_w_4(float value)
  245. {
  246. ___w_4 = value;
  247. }
  248. };
  249. struct Vector4_t3319028937_StaticFields
  250. {
  251. public:
  252. // UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
  253. Vector4_t3319028937 ___zeroVector_5;
  254. // UnityEngine.Vector4 UnityEngine.Vector4::oneVector
  255. Vector4_t3319028937 ___oneVector_6;
  256. // UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
  257. Vector4_t3319028937 ___positiveInfinityVector_7;
  258. // UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
  259. Vector4_t3319028937 ___negativeInfinityVector_8;
  260. public:
  261. inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___zeroVector_5)); }
  262. inline Vector4_t3319028937 get_zeroVector_5() const { return ___zeroVector_5; }
  263. inline Vector4_t3319028937 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
  264. inline void set_zeroVector_5(Vector4_t3319028937 value)
  265. {
  266. ___zeroVector_5 = value;
  267. }
  268. inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___oneVector_6)); }
  269. inline Vector4_t3319028937 get_oneVector_6() const { return ___oneVector_6; }
  270. inline Vector4_t3319028937 * get_address_of_oneVector_6() { return &___oneVector_6; }
  271. inline void set_oneVector_6(Vector4_t3319028937 value)
  272. {
  273. ___oneVector_6 = value;
  274. }
  275. inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___positiveInfinityVector_7)); }
  276. inline Vector4_t3319028937 get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; }
  277. inline Vector4_t3319028937 * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; }
  278. inline void set_positiveInfinityVector_7(Vector4_t3319028937 value)
  279. {
  280. ___positiveInfinityVector_7 = value;
  281. }
  282. inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___negativeInfinityVector_8)); }
  283. inline Vector4_t3319028937 get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; }
  284. inline Vector4_t3319028937 * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; }
  285. inline void set_negativeInfinityVector_8(Vector4_t3319028937 value)
  286. {
  287. ___negativeInfinityVector_8 = value;
  288. }
  289. };
  290. #ifdef __clang__
  291. #pragma clang diagnostic pop
  292. #endif
  293. #endif // VECTOR4_T3319028937_H
  294. #ifndef VOID_T1185182177_H
  295. #define VOID_T1185182177_H
  296. #ifdef __clang__
  297. #pragma clang diagnostic push
  298. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  299. #pragma clang diagnostic ignored "-Wunused-variable"
  300. #endif
  301. // System.Void
  302. struct Void_t1185182177
  303. {
  304. public:
  305. public:
  306. };
  307. #ifdef __clang__
  308. #pragma clang diagnostic pop
  309. #endif
  310. #endif // VOID_T1185182177_H
  311. #ifndef INT32_T2950945753_H
  312. #define INT32_T2950945753_H
  313. #ifdef __clang__
  314. #pragma clang diagnostic push
  315. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  316. #pragma clang diagnostic ignored "-Wunused-variable"
  317. #endif
  318. // System.Int32
  319. struct Int32_t2950945753
  320. {
  321. public:
  322. // System.Int32 System.Int32::m_value
  323. int32_t ___m_value_2;
  324. public:
  325. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
  326. inline int32_t get_m_value_2() const { return ___m_value_2; }
  327. inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
  328. inline void set_m_value_2(int32_t value)
  329. {
  330. ___m_value_2 = value;
  331. }
  332. };
  333. #ifdef __clang__
  334. #pragma clang diagnostic pop
  335. #endif
  336. #endif // INT32_T2950945753_H
  337. #ifndef OBJECT_T631007953_H
  338. #define OBJECT_T631007953_H
  339. #ifdef __clang__
  340. #pragma clang diagnostic push
  341. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  342. #pragma clang diagnostic ignored "-Wunused-variable"
  343. #endif
  344. // UnityEngine.Object
  345. struct Object_t631007953 : public RuntimeObject
  346. {
  347. public:
  348. // System.IntPtr UnityEngine.Object::m_CachedPtr
  349. intptr_t ___m_CachedPtr_0;
  350. public:
  351. inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_t631007953, ___m_CachedPtr_0)); }
  352. inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
  353. inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
  354. inline void set_m_CachedPtr_0(intptr_t value)
  355. {
  356. ___m_CachedPtr_0 = value;
  357. }
  358. };
  359. struct Object_t631007953_StaticFields
  360. {
  361. public:
  362. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  363. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  364. public:
  365. inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_t631007953_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
  366. inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
  367. inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
  368. inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
  369. {
  370. ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
  371. }
  372. };
  373. #ifdef __clang__
  374. #pragma clang diagnostic pop
  375. #endif
  376. // Native definition for P/Invoke marshalling of UnityEngine.Object
  377. struct Object_t631007953_marshaled_pinvoke
  378. {
  379. intptr_t ___m_CachedPtr_0;
  380. };
  381. // Native definition for COM marshalling of UnityEngine.Object
  382. struct Object_t631007953_marshaled_com
  383. {
  384. intptr_t ___m_CachedPtr_0;
  385. };
  386. #endif // OBJECT_T631007953_H
  387. #ifndef BOUNDARYVALUETYPE_T1782311533_H
  388. #define BOUNDARYVALUETYPE_T1782311533_H
  389. #ifdef __clang__
  390. #pragma clang diagnostic push
  391. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  392. #pragma clang diagnostic ignored "-Wunused-variable"
  393. #endif
  394. // UnityEngine.TerrainData/BoundaryValueType
  395. struct BoundaryValueType_t1782311533
  396. {
  397. public:
  398. // System.Int32 UnityEngine.TerrainData/BoundaryValueType::value__
  399. int32_t ___value___1;
  400. public:
  401. inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(BoundaryValueType_t1782311533, ___value___1)); }
  402. inline int32_t get_value___1() const { return ___value___1; }
  403. inline int32_t* get_address_of_value___1() { return &___value___1; }
  404. inline void set_value___1(int32_t value)
  405. {
  406. ___value___1 = value;
  407. }
  408. };
  409. #ifdef __clang__
  410. #pragma clang diagnostic pop
  411. #endif
  412. #endif // BOUNDARYVALUETYPE_T1782311533_H
  413. #ifndef TERRAINDATA_T657004131_H
  414. #define TERRAINDATA_T657004131_H
  415. #ifdef __clang__
  416. #pragma clang diagnostic push
  417. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  418. #pragma clang diagnostic ignored "-Wunused-variable"
  419. #endif
  420. // UnityEngine.TerrainData
  421. struct TerrainData_t657004131 : public Object_t631007953
  422. {
  423. public:
  424. public:
  425. };
  426. struct TerrainData_t657004131_StaticFields
  427. {
  428. public:
  429. // System.Int32 UnityEngine.TerrainData::k_MaximumResolution
  430. int32_t ___k_MaximumResolution_2;
  431. // System.Int32 UnityEngine.TerrainData::k_MinimumDetailResolutionPerPatch
  432. int32_t ___k_MinimumDetailResolutionPerPatch_3;
  433. // System.Int32 UnityEngine.TerrainData::k_MaximumDetailResolutionPerPatch
  434. int32_t ___k_MaximumDetailResolutionPerPatch_4;
  435. // System.Int32 UnityEngine.TerrainData::k_MaximumDetailPatchCount
  436. int32_t ___k_MaximumDetailPatchCount_5;
  437. // System.Int32 UnityEngine.TerrainData::k_MinimumAlphamapResolution
  438. int32_t ___k_MinimumAlphamapResolution_6;
  439. // System.Int32 UnityEngine.TerrainData::k_MaximumAlphamapResolution
  440. int32_t ___k_MaximumAlphamapResolution_7;
  441. // System.Int32 UnityEngine.TerrainData::k_MinimumBaseMapResolution
  442. int32_t ___k_MinimumBaseMapResolution_8;
  443. // System.Int32 UnityEngine.TerrainData::k_MaximumBaseMapResolution
  444. int32_t ___k_MaximumBaseMapResolution_9;
  445. public:
  446. inline static int32_t get_offset_of_k_MaximumResolution_2() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumResolution_2)); }
  447. inline int32_t get_k_MaximumResolution_2() const { return ___k_MaximumResolution_2; }
  448. inline int32_t* get_address_of_k_MaximumResolution_2() { return &___k_MaximumResolution_2; }
  449. inline void set_k_MaximumResolution_2(int32_t value)
  450. {
  451. ___k_MaximumResolution_2 = value;
  452. }
  453. inline static int32_t get_offset_of_k_MinimumDetailResolutionPerPatch_3() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumDetailResolutionPerPatch_3)); }
  454. inline int32_t get_k_MinimumDetailResolutionPerPatch_3() const { return ___k_MinimumDetailResolutionPerPatch_3; }
  455. inline int32_t* get_address_of_k_MinimumDetailResolutionPerPatch_3() { return &___k_MinimumDetailResolutionPerPatch_3; }
  456. inline void set_k_MinimumDetailResolutionPerPatch_3(int32_t value)
  457. {
  458. ___k_MinimumDetailResolutionPerPatch_3 = value;
  459. }
  460. inline static int32_t get_offset_of_k_MaximumDetailResolutionPerPatch_4() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumDetailResolutionPerPatch_4)); }
  461. inline int32_t get_k_MaximumDetailResolutionPerPatch_4() const { return ___k_MaximumDetailResolutionPerPatch_4; }
  462. inline int32_t* get_address_of_k_MaximumDetailResolutionPerPatch_4() { return &___k_MaximumDetailResolutionPerPatch_4; }
  463. inline void set_k_MaximumDetailResolutionPerPatch_4(int32_t value)
  464. {
  465. ___k_MaximumDetailResolutionPerPatch_4 = value;
  466. }
  467. inline static int32_t get_offset_of_k_MaximumDetailPatchCount_5() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumDetailPatchCount_5)); }
  468. inline int32_t get_k_MaximumDetailPatchCount_5() const { return ___k_MaximumDetailPatchCount_5; }
  469. inline int32_t* get_address_of_k_MaximumDetailPatchCount_5() { return &___k_MaximumDetailPatchCount_5; }
  470. inline void set_k_MaximumDetailPatchCount_5(int32_t value)
  471. {
  472. ___k_MaximumDetailPatchCount_5 = value;
  473. }
  474. inline static int32_t get_offset_of_k_MinimumAlphamapResolution_6() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumAlphamapResolution_6)); }
  475. inline int32_t get_k_MinimumAlphamapResolution_6() const { return ___k_MinimumAlphamapResolution_6; }
  476. inline int32_t* get_address_of_k_MinimumAlphamapResolution_6() { return &___k_MinimumAlphamapResolution_6; }
  477. inline void set_k_MinimumAlphamapResolution_6(int32_t value)
  478. {
  479. ___k_MinimumAlphamapResolution_6 = value;
  480. }
  481. inline static int32_t get_offset_of_k_MaximumAlphamapResolution_7() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumAlphamapResolution_7)); }
  482. inline int32_t get_k_MaximumAlphamapResolution_7() const { return ___k_MaximumAlphamapResolution_7; }
  483. inline int32_t* get_address_of_k_MaximumAlphamapResolution_7() { return &___k_MaximumAlphamapResolution_7; }
  484. inline void set_k_MaximumAlphamapResolution_7(int32_t value)
  485. {
  486. ___k_MaximumAlphamapResolution_7 = value;
  487. }
  488. inline static int32_t get_offset_of_k_MinimumBaseMapResolution_8() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumBaseMapResolution_8)); }
  489. inline int32_t get_k_MinimumBaseMapResolution_8() const { return ___k_MinimumBaseMapResolution_8; }
  490. inline int32_t* get_address_of_k_MinimumBaseMapResolution_8() { return &___k_MinimumBaseMapResolution_8; }
  491. inline void set_k_MinimumBaseMapResolution_8(int32_t value)
  492. {
  493. ___k_MinimumBaseMapResolution_8 = value;
  494. }
  495. inline static int32_t get_offset_of_k_MaximumBaseMapResolution_9() { return static_cast<int32_t>(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumBaseMapResolution_9)); }
  496. inline int32_t get_k_MaximumBaseMapResolution_9() const { return ___k_MaximumBaseMapResolution_9; }
  497. inline int32_t* get_address_of_k_MaximumBaseMapResolution_9() { return &___k_MaximumBaseMapResolution_9; }
  498. inline void set_k_MaximumBaseMapResolution_9(int32_t value)
  499. {
  500. ___k_MaximumBaseMapResolution_9 = value;
  501. }
  502. };
  503. #ifdef __clang__
  504. #pragma clang diagnostic pop
  505. #endif
  506. #endif // TERRAINDATA_T657004131_H
  507. #ifndef COMPONENT_T1923634451_H
  508. #define COMPONENT_T1923634451_H
  509. #ifdef __clang__
  510. #pragma clang diagnostic push
  511. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  512. #pragma clang diagnostic ignored "-Wunused-variable"
  513. #endif
  514. // UnityEngine.Component
  515. struct Component_t1923634451 : public Object_t631007953
  516. {
  517. public:
  518. public:
  519. };
  520. #ifdef __clang__
  521. #pragma clang diagnostic pop
  522. #endif
  523. #endif // COMPONENT_T1923634451_H
  524. #ifndef BEHAVIOUR_T1437897464_H
  525. #define BEHAVIOUR_T1437897464_H
  526. #ifdef __clang__
  527. #pragma clang diagnostic push
  528. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  529. #pragma clang diagnostic ignored "-Wunused-variable"
  530. #endif
  531. // UnityEngine.Behaviour
  532. struct Behaviour_t1437897464 : public Component_t1923634451
  533. {
  534. public:
  535. public:
  536. };
  537. #ifdef __clang__
  538. #pragma clang diagnostic pop
  539. #endif
  540. #endif // BEHAVIOUR_T1437897464_H
  541. #ifndef TERRAIN_T3055443660_H
  542. #define TERRAIN_T3055443660_H
  543. #ifdef __clang__
  544. #pragma clang diagnostic push
  545. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  546. #pragma clang diagnostic ignored "-Wunused-variable"
  547. #endif
  548. // UnityEngine.Terrain
  549. struct Terrain_t3055443660 : public Behaviour_t1437897464
  550. {
  551. public:
  552. public:
  553. };
  554. #ifdef __clang__
  555. #pragma clang diagnostic pop
  556. #endif
  557. #endif // TERRAIN_T3055443660_H
  558. // System.Void UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
  559. extern "C" IL2CPP_METHOD_ATTR void Terrain_get_lightmapScaleOffset_Injected_m3484476065 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___ret0, const RuntimeMethod* method);
  560. // System.Void UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
  561. extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_Injected_m3724570021 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___value0, const RuntimeMethod* method);
  562. // System.Int32 UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType)
  563. extern "C" IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_m1103633233 (RuntimeObject * __this /* static, unused */, int32_t ___type0, const RuntimeMethod* method);
  564. #ifdef __clang__
  565. #pragma clang diagnostic push
  566. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  567. #pragma clang diagnostic ignored "-Wunused-variable"
  568. #endif
  569. #ifdef __clang__
  570. #pragma clang diagnostic pop
  571. #endif
  572. #ifdef __clang__
  573. #pragma clang diagnostic push
  574. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  575. #pragma clang diagnostic ignored "-Wunused-variable"
  576. #endif
  577. // System.Int32 UnityEngine.Terrain::get_lightmapIndex()
  578. extern "C" IL2CPP_METHOD_ATTR int32_t Terrain_get_lightmapIndex_m1419337621 (Terrain_t3055443660 * __this, const RuntimeMethod* method)
  579. {
  580. typedef int32_t (*Terrain_get_lightmapIndex_m1419337621_ftn) (Terrain_t3055443660 *);
  581. static Terrain_get_lightmapIndex_m1419337621_ftn _il2cpp_icall_func;
  582. if (!_il2cpp_icall_func)
  583. _il2cpp_icall_func = (Terrain_get_lightmapIndex_m1419337621_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_lightmapIndex()");
  584. int32_t retVal = _il2cpp_icall_func(__this);
  585. return retVal;
  586. }
  587. // System.Void UnityEngine.Terrain::set_lightmapIndex(System.Int32)
  588. extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapIndex_m4285884942 (Terrain_t3055443660 * __this, int32_t ___value0, const RuntimeMethod* method)
  589. {
  590. typedef void (*Terrain_set_lightmapIndex_m4285884942_ftn) (Terrain_t3055443660 *, int32_t);
  591. static Terrain_set_lightmapIndex_m4285884942_ftn _il2cpp_icall_func;
  592. if (!_il2cpp_icall_func)
  593. _il2cpp_icall_func = (Terrain_set_lightmapIndex_m4285884942_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::set_lightmapIndex(System.Int32)");
  594. _il2cpp_icall_func(__this, ___value0);
  595. }
  596. // UnityEngine.Vector4 UnityEngine.Terrain::get_lightmapScaleOffset()
  597. extern "C" IL2CPP_METHOD_ATTR Vector4_t3319028937 Terrain_get_lightmapScaleOffset_m1958008974 (Terrain_t3055443660 * __this, const RuntimeMethod* method)
  598. {
  599. Vector4_t3319028937 V_0;
  600. memset(&V_0, 0, sizeof(V_0));
  601. {
  602. Terrain_get_lightmapScaleOffset_Injected_m3484476065(__this, (&V_0), /*hidden argument*/NULL);
  603. Vector4_t3319028937 L_0 = V_0;
  604. return L_0;
  605. }
  606. }
  607. // System.Void UnityEngine.Terrain::set_lightmapScaleOffset(UnityEngine.Vector4)
  608. extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_m2049244534 (Terrain_t3055443660 * __this, Vector4_t3319028937 ___value0, const RuntimeMethod* method)
  609. {
  610. {
  611. Terrain_set_lightmapScaleOffset_Injected_m3724570021(__this, (&___value0), /*hidden argument*/NULL);
  612. return;
  613. }
  614. }
  615. // System.Void UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
  616. extern "C" IL2CPP_METHOD_ATTR void Terrain_get_lightmapScaleOffset_Injected_m3484476065 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___ret0, const RuntimeMethod* method)
  617. {
  618. typedef void (*Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn) (Terrain_t3055443660 *, Vector4_t3319028937 *);
  619. static Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn _il2cpp_icall_func;
  620. if (!_il2cpp_icall_func)
  621. _il2cpp_icall_func = (Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)");
  622. _il2cpp_icall_func(__this, ___ret0);
  623. }
  624. // System.Void UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
  625. extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_Injected_m3724570021 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___value0, const RuntimeMethod* method)
  626. {
  627. typedef void (*Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn) (Terrain_t3055443660 *, Vector4_t3319028937 *);
  628. static Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn _il2cpp_icall_func;
  629. if (!_il2cpp_icall_func)
  630. _il2cpp_icall_func = (Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)");
  631. _il2cpp_icall_func(__this, ___value0);
  632. }
  633. #ifdef __clang__
  634. #pragma clang diagnostic pop
  635. #endif
  636. #ifdef __clang__
  637. #pragma clang diagnostic push
  638. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  639. #pragma clang diagnostic ignored "-Wunused-variable"
  640. #endif
  641. // System.Int32 UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType)
  642. extern "C" IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_m1103633233 (RuntimeObject * __this /* static, unused */, int32_t ___type0, const RuntimeMethod* method)
  643. {
  644. typedef int32_t (*TerrainData_GetBoundaryValue_m1103633233_ftn) (int32_t);
  645. static TerrainData_GetBoundaryValue_m1103633233_ftn _il2cpp_icall_func;
  646. if (!_il2cpp_icall_func)
  647. _il2cpp_icall_func = (TerrainData_GetBoundaryValue_m1103633233_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType)");
  648. int32_t retVal = _il2cpp_icall_func(___type0);
  649. return retVal;
  650. }
  651. // System.Single UnityEngine.TerrainData::GetAlphamapResolutionInternal()
  652. extern "C" IL2CPP_METHOD_ATTR float TerrainData_GetAlphamapResolutionInternal_m1173327220 (TerrainData_t657004131 * __this, const RuntimeMethod* method)
  653. {
  654. typedef float (*TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn) (TerrainData_t657004131 *);
  655. static TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn _il2cpp_icall_func;
  656. if (!_il2cpp_icall_func)
  657. _il2cpp_icall_func = (TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetAlphamapResolutionInternal()");
  658. float retVal = _il2cpp_icall_func(__this);
  659. return retVal;
  660. }
  661. // System.Void UnityEngine.TerrainData::.cctor()
  662. extern "C" IL2CPP_METHOD_ATTR void TerrainData__cctor_m2936165929 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
  663. {
  664. static bool s_Il2CppMethodInitialized;
  665. if (!s_Il2CppMethodInitialized)
  666. {
  667. il2cpp_codegen_initialize_method (TerrainData__cctor_m2936165929_MetadataUsageId);
  668. s_Il2CppMethodInitialized = true;
  669. }
  670. {
  671. int32_t L_0 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
  672. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumResolution_2(L_0);
  673. int32_t L_1 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
  674. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumDetailResolutionPerPatch_3(L_1);
  675. int32_t L_2 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 2, /*hidden argument*/NULL);
  676. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumDetailResolutionPerPatch_4(L_2);
  677. int32_t L_3 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 3, /*hidden argument*/NULL);
  678. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumDetailPatchCount_5(L_3);
  679. int32_t L_4 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 4, /*hidden argument*/NULL);
  680. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumAlphamapResolution_6(L_4);
  681. int32_t L_5 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 5, /*hidden argument*/NULL);
  682. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumAlphamapResolution_7(L_5);
  683. int32_t L_6 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 6, /*hidden argument*/NULL);
  684. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumBaseMapResolution_8(L_6);
  685. int32_t L_7 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 7, /*hidden argument*/NULL);
  686. ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumBaseMapResolution_9(L_7);
  687. return;
  688. }
  689. }
  690. #ifdef __clang__
  691. #pragma clang diagnostic pop
  692. #endif
  693. #ifdef __clang__
  694. #pragma clang diagnostic push
  695. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  696. #pragma clang diagnostic ignored "-Wunused-variable"
  697. #endif
  698. #ifdef __clang__
  699. #pragma clang diagnostic pop
  700. #endif