Bulk_UnityEngine.ScreenCaptureModule_0.cpp 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. // System.String
  18. struct String_t;
  19. // System.Char[]
  20. struct CharU5BU5D_t3528271667;
  21. #ifndef U3CMODULEU3E_T692745551_H
  22. #define U3CMODULEU3E_T692745551_H
  23. #ifdef __clang__
  24. #pragma clang diagnostic push
  25. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  26. #pragma clang diagnostic ignored "-Wunused-variable"
  27. #endif
  28. // <Module>
  29. struct U3CModuleU3E_t692745551
  30. {
  31. public:
  32. public:
  33. };
  34. #ifdef __clang__
  35. #pragma clang diagnostic pop
  36. #endif
  37. #endif // U3CMODULEU3E_T692745551_H
  38. #ifndef RUNTIMEOBJECT_H
  39. #define RUNTIMEOBJECT_H
  40. #ifdef __clang__
  41. #pragma clang diagnostic push
  42. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  43. #pragma clang diagnostic ignored "-Wunused-variable"
  44. #endif
  45. // System.Object
  46. #ifdef __clang__
  47. #pragma clang diagnostic pop
  48. #endif
  49. #endif // RUNTIMEOBJECT_H
  50. struct Il2CppArrayBounds;
  51. #ifndef RUNTIMEARRAY_H
  52. #define RUNTIMEARRAY_H
  53. #ifdef __clang__
  54. #pragma clang diagnostic push
  55. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  56. #pragma clang diagnostic ignored "-Wunused-variable"
  57. #endif
  58. // System.Array
  59. #ifdef __clang__
  60. #pragma clang diagnostic pop
  61. #endif
  62. #endif // RUNTIMEARRAY_H
  63. #ifndef STRING_T_H
  64. #define STRING_T_H
  65. #ifdef __clang__
  66. #pragma clang diagnostic push
  67. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  68. #pragma clang diagnostic ignored "-Wunused-variable"
  69. #endif
  70. // System.String
  71. struct String_t : public RuntimeObject
  72. {
  73. public:
  74. // System.Int32 System.String::length
  75. int32_t ___length_0;
  76. // System.Char System.String::start_char
  77. Il2CppChar ___start_char_1;
  78. public:
  79. inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
  80. inline int32_t get_length_0() const { return ___length_0; }
  81. inline int32_t* get_address_of_length_0() { return &___length_0; }
  82. inline void set_length_0(int32_t value)
  83. {
  84. ___length_0 = value;
  85. }
  86. inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
  87. inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
  88. inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
  89. inline void set_start_char_1(Il2CppChar value)
  90. {
  91. ___start_char_1 = value;
  92. }
  93. };
  94. struct String_t_StaticFields
  95. {
  96. public:
  97. // System.String System.String::Empty
  98. String_t* ___Empty_2;
  99. // System.Char[] System.String::WhiteChars
  100. CharU5BU5D_t3528271667* ___WhiteChars_3;
  101. public:
  102. inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
  103. inline String_t* get_Empty_2() const { return ___Empty_2; }
  104. inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
  105. inline void set_Empty_2(String_t* value)
  106. {
  107. ___Empty_2 = value;
  108. Il2CppCodeGenWriteBarrier((&___Empty_2), value);
  109. }
  110. inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
  111. inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
  112. inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
  113. inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
  114. {
  115. ___WhiteChars_3 = value;
  116. Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
  117. }
  118. };
  119. #ifdef __clang__
  120. #pragma clang diagnostic pop
  121. #endif
  122. #endif // STRING_T_H
  123. #ifndef SCREENCAPTURE_T2708772325_H
  124. #define SCREENCAPTURE_T2708772325_H
  125. #ifdef __clang__
  126. #pragma clang diagnostic push
  127. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  128. #pragma clang diagnostic ignored "-Wunused-variable"
  129. #endif
  130. // UnityEngine.ScreenCapture
  131. struct ScreenCapture_t2708772325 : public RuntimeObject
  132. {
  133. public:
  134. public:
  135. };
  136. #ifdef __clang__
  137. #pragma clang diagnostic pop
  138. #endif
  139. #endif // SCREENCAPTURE_T2708772325_H
  140. #ifndef VALUETYPE_T3640485471_H
  141. #define VALUETYPE_T3640485471_H
  142. #ifdef __clang__
  143. #pragma clang diagnostic push
  144. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  145. #pragma clang diagnostic ignored "-Wunused-variable"
  146. #endif
  147. // System.ValueType
  148. struct ValueType_t3640485471 : public RuntimeObject
  149. {
  150. public:
  151. public:
  152. };
  153. #ifdef __clang__
  154. #pragma clang diagnostic pop
  155. #endif
  156. // Native definition for P/Invoke marshalling of System.ValueType
  157. struct ValueType_t3640485471_marshaled_pinvoke
  158. {
  159. };
  160. // Native definition for COM marshalling of System.ValueType
  161. struct ValueType_t3640485471_marshaled_com
  162. {
  163. };
  164. #endif // VALUETYPE_T3640485471_H
  165. #ifndef VOID_T1185182177_H
  166. #define VOID_T1185182177_H
  167. #ifdef __clang__
  168. #pragma clang diagnostic push
  169. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  170. #pragma clang diagnostic ignored "-Wunused-variable"
  171. #endif
  172. // System.Void
  173. struct Void_t1185182177
  174. {
  175. public:
  176. public:
  177. };
  178. #ifdef __clang__
  179. #pragma clang diagnostic pop
  180. #endif
  181. #endif // VOID_T1185182177_H
  182. #ifndef INT32_T2950945753_H
  183. #define INT32_T2950945753_H
  184. #ifdef __clang__
  185. #pragma clang diagnostic push
  186. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  187. #pragma clang diagnostic ignored "-Wunused-variable"
  188. #endif
  189. // System.Int32
  190. struct Int32_t2950945753
  191. {
  192. public:
  193. // System.Int32 System.Int32::m_value
  194. int32_t ___m_value_2;
  195. public:
  196. inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
  197. inline int32_t get_m_value_2() const { return ___m_value_2; }
  198. inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
  199. inline void set_m_value_2(int32_t value)
  200. {
  201. ___m_value_2 = value;
  202. }
  203. };
  204. #ifdef __clang__
  205. #pragma clang diagnostic pop
  206. #endif
  207. #endif // INT32_T2950945753_H
  208. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32)
  209. extern "C" IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m467787810 (RuntimeObject * __this /* static, unused */, String_t* ___filename0, int32_t ___superSize1, const RuntimeMethod* method);
  210. #ifdef __clang__
  211. #pragma clang diagnostic push
  212. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  213. #pragma clang diagnostic ignored "-Wunused-variable"
  214. #endif
  215. #ifdef __clang__
  216. #pragma clang diagnostic pop
  217. #endif
  218. #ifdef __clang__
  219. #pragma clang diagnostic push
  220. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  221. #pragma clang diagnostic ignored "-Wunused-variable"
  222. #endif
  223. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String)
  224. extern "C" IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m934745658 (RuntimeObject * __this /* static, unused */, String_t* ___filename0, const RuntimeMethod* method)
  225. {
  226. {
  227. String_t* L_0 = ___filename0;
  228. ScreenCapture_CaptureScreenshot_m467787810(NULL /*static, unused*/, L_0, 1, /*hidden argument*/NULL);
  229. return;
  230. }
  231. }
  232. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32)
  233. extern "C" IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m467787810 (RuntimeObject * __this /* static, unused */, String_t* ___filename0, int32_t ___superSize1, const RuntimeMethod* method)
  234. {
  235. typedef void (*ScreenCapture_CaptureScreenshot_m467787810_ftn) (String_t*, int32_t);
  236. static ScreenCapture_CaptureScreenshot_m467787810_ftn _il2cpp_icall_func;
  237. if (!_il2cpp_icall_func)
  238. _il2cpp_icall_func = (ScreenCapture_CaptureScreenshot_m467787810_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32)");
  239. _il2cpp_icall_func(___filename0, ___superSize1);
  240. }
  241. #ifdef __clang__
  242. #pragma clang diagnostic pop
  243. #endif