UnityEngine_Attr.cpp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. #include <stdint.h>
  9. // System.Char[]
  10. struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
  11. // System.Runtime.CompilerServices.CompilationRelaxationsAttribute
  12. struct CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF;
  13. // System.Diagnostics.DebuggableAttribute
  14. struct DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B;
  15. // System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
  16. struct RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80;
  17. // System.String
  18. struct String_t;
  19. IL2CPP_EXTERN_C_BEGIN
  20. IL2CPP_EXTERN_C_END
  21. #ifdef __clang__
  22. #pragma clang diagnostic push
  23. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24. #pragma clang diagnostic ignored "-Wunused-variable"
  25. #endif
  26. // System.Object
  27. // System.Attribute
  28. struct Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71 : public RuntimeObject
  29. {
  30. public:
  31. public:
  32. };
  33. // System.ValueType
  34. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
  35. {
  36. public:
  37. public:
  38. };
  39. // Native definition for P/Invoke marshalling of System.ValueType
  40. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
  41. {
  42. };
  43. // Native definition for COM marshalling of System.ValueType
  44. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
  45. {
  46. };
  47. // System.Boolean
  48. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
  49. {
  50. public:
  51. // System.Boolean System.Boolean::m_value
  52. bool ___m_value_0;
  53. public:
  54. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
  55. inline bool get_m_value_0() const { return ___m_value_0; }
  56. inline bool* get_address_of_m_value_0() { return &___m_value_0; }
  57. inline void set_m_value_0(bool value)
  58. {
  59. ___m_value_0 = value;
  60. }
  61. };
  62. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
  63. {
  64. public:
  65. // System.String System.Boolean::TrueString
  66. String_t* ___TrueString_5;
  67. // System.String System.Boolean::FalseString
  68. String_t* ___FalseString_6;
  69. public:
  70. inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
  71. inline String_t* get_TrueString_5() const { return ___TrueString_5; }
  72. inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
  73. inline void set_TrueString_5(String_t* value)
  74. {
  75. ___TrueString_5 = value;
  76. Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
  77. }
  78. inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
  79. inline String_t* get_FalseString_6() const { return ___FalseString_6; }
  80. inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
  81. inline void set_FalseString_6(String_t* value)
  82. {
  83. ___FalseString_6 = value;
  84. Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
  85. }
  86. };
  87. // System.Runtime.CompilerServices.CompilationRelaxationsAttribute
  88. struct CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF : public Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71
  89. {
  90. public:
  91. // System.Int32 System.Runtime.CompilerServices.CompilationRelaxationsAttribute::m_relaxations
  92. int32_t ___m_relaxations_0;
  93. public:
  94. inline static int32_t get_offset_of_m_relaxations_0() { return static_cast<int32_t>(offsetof(CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF, ___m_relaxations_0)); }
  95. inline int32_t get_m_relaxations_0() const { return ___m_relaxations_0; }
  96. inline int32_t* get_address_of_m_relaxations_0() { return &___m_relaxations_0; }
  97. inline void set_m_relaxations_0(int32_t value)
  98. {
  99. ___m_relaxations_0 = value;
  100. }
  101. };
  102. // System.Enum
  103. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
  104. {
  105. public:
  106. public:
  107. };
  108. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
  109. {
  110. public:
  111. // System.Char[] System.Enum::enumSeperatorCharArray
  112. CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
  113. public:
  114. inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
  115. inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
  116. inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
  117. inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
  118. {
  119. ___enumSeperatorCharArray_0 = value;
  120. Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
  121. }
  122. };
  123. // Native definition for P/Invoke marshalling of System.Enum
  124. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
  125. {
  126. };
  127. // Native definition for COM marshalling of System.Enum
  128. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
  129. {
  130. };
  131. // System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
  132. struct RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 : public Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71
  133. {
  134. public:
  135. // System.Boolean System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::m_wrapNonExceptionThrows
  136. bool ___m_wrapNonExceptionThrows_0;
  137. public:
  138. inline static int32_t get_offset_of_m_wrapNonExceptionThrows_0() { return static_cast<int32_t>(offsetof(RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80, ___m_wrapNonExceptionThrows_0)); }
  139. inline bool get_m_wrapNonExceptionThrows_0() const { return ___m_wrapNonExceptionThrows_0; }
  140. inline bool* get_address_of_m_wrapNonExceptionThrows_0() { return &___m_wrapNonExceptionThrows_0; }
  141. inline void set_m_wrapNonExceptionThrows_0(bool value)
  142. {
  143. ___m_wrapNonExceptionThrows_0 = value;
  144. }
  145. };
  146. // System.Void
  147. struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
  148. {
  149. public:
  150. union
  151. {
  152. struct
  153. {
  154. };
  155. uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
  156. };
  157. public:
  158. };
  159. // System.Diagnostics.DebuggableAttribute/DebuggingModes
  160. struct DebuggingModes_t279D5B9C012ABA935887CB73C5A63A1F46AF08A8
  161. {
  162. public:
  163. // System.Int32 System.Diagnostics.DebuggableAttribute/DebuggingModes::value__
  164. int32_t ___value___2;
  165. public:
  166. inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DebuggingModes_t279D5B9C012ABA935887CB73C5A63A1F46AF08A8, ___value___2)); }
  167. inline int32_t get_value___2() const { return ___value___2; }
  168. inline int32_t* get_address_of_value___2() { return &___value___2; }
  169. inline void set_value___2(int32_t value)
  170. {
  171. ___value___2 = value;
  172. }
  173. };
  174. // System.Diagnostics.DebuggableAttribute
  175. struct DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B : public Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71
  176. {
  177. public:
  178. // System.Diagnostics.DebuggableAttribute/DebuggingModes System.Diagnostics.DebuggableAttribute::m_debuggingModes
  179. int32_t ___m_debuggingModes_0;
  180. public:
  181. inline static int32_t get_offset_of_m_debuggingModes_0() { return static_cast<int32_t>(offsetof(DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B, ___m_debuggingModes_0)); }
  182. inline int32_t get_m_debuggingModes_0() const { return ___m_debuggingModes_0; }
  183. inline int32_t* get_address_of_m_debuggingModes_0() { return &___m_debuggingModes_0; }
  184. inline void set_m_debuggingModes_0(int32_t value)
  185. {
  186. ___m_debuggingModes_0 = value;
  187. }
  188. };
  189. #ifdef __clang__
  190. #pragma clang diagnostic pop
  191. #endif
  192. // System.Void System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(System.Int32)
  193. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompilationRelaxationsAttribute__ctor_mAC3079EBC4EEAB474EED8208EF95DB39C922333B (CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF * __this, int32_t ___relaxations0, const RuntimeMethod* method);
  194. // System.Void System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor()
  195. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeCompatibilityAttribute__ctor_m551DDF1438CE97A984571949723F30F44CF7317C (RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 * __this, const RuntimeMethod* method);
  196. // System.Void System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::set_WrapNonExceptionThrows(System.Boolean)
  197. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RuntimeCompatibilityAttribute_set_WrapNonExceptionThrows_m8562196F90F3EBCEC23B5708EE0332842883C490_inline (RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 * __this, bool ___value0, const RuntimeMethod* method);
  198. // System.Void System.Diagnostics.DebuggableAttribute::.ctor(System.Diagnostics.DebuggableAttribute/DebuggingModes)
  199. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DebuggableAttribute__ctor_m7FF445C8435494A4847123A668D889E692E55550 (DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B * __this, int32_t ___modes0, const RuntimeMethod* method);
  200. static void UnityEngine_CustomAttributesCacheGenerator(CustomAttributesCache* cache)
  201. {
  202. {
  203. CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF * tmp = (CompilationRelaxationsAttribute_t661FDDC06629BDA607A42BD660944F039FE03AFF *)cache->attributes[0];
  204. CompilationRelaxationsAttribute__ctor_mAC3079EBC4EEAB474EED8208EF95DB39C922333B(tmp, 8LL, NULL);
  205. }
  206. {
  207. RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 * tmp = (RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 *)cache->attributes[1];
  208. RuntimeCompatibilityAttribute__ctor_m551DDF1438CE97A984571949723F30F44CF7317C(tmp, NULL);
  209. RuntimeCompatibilityAttribute_set_WrapNonExceptionThrows_m8562196F90F3EBCEC23B5708EE0332842883C490_inline(tmp, true, NULL);
  210. }
  211. {
  212. DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B * tmp = (DebuggableAttribute_tA8054EBD0FC7511695D494B690B5771658E3191B *)cache->attributes[2];
  213. DebuggableAttribute__ctor_m7FF445C8435494A4847123A668D889E692E55550(tmp, 263LL, NULL);
  214. }
  215. }
  216. IL2CPP_EXTERN_C const CustomAttributesCacheGenerator g_UnityEngine_AttributeGenerators[];
  217. const CustomAttributesCacheGenerator g_UnityEngine_AttributeGenerators[1] =
  218. {
  219. UnityEngine_CustomAttributesCacheGenerator,
  220. };
  221. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RuntimeCompatibilityAttribute_set_WrapNonExceptionThrows_m8562196F90F3EBCEC23B5708EE0332842883C490_inline (RuntimeCompatibilityAttribute_tFF99AB2963098F9CBCD47A20D9FD3D51C17C1C80 * __this, bool ___value0, const RuntimeMethod* method)
  222. {
  223. {
  224. bool L_0 = ___value0;
  225. __this->set_m_wrapNonExceptionThrows_0(L_0);
  226. return;
  227. }
  228. }