暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

UnityEngine.ScreenCaptureModule.cpp 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. // System.String
  9. struct String_t;
  10. IL2CPP_EXTERN_C_BEGIN
  11. IL2CPP_EXTERN_C_END
  12. #ifdef __clang__
  13. #pragma clang diagnostic push
  14. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  15. #pragma clang diagnostic ignored "-Wunused-variable"
  16. #endif
  17. // <Module>
  18. struct U3CModuleU3E_tE8CCFA91781BB9C429F0997CDE2C44CCD8FBF84E
  19. {
  20. };
  21. // UnityEngine.ScreenCapture
  22. struct ScreenCapture_t513DA8E74951FF61C8421D7046F6FC69A4153092 : public RuntimeObject
  23. {
  24. };
  25. // System.String
  26. struct String_t : public RuntimeObject
  27. {
  28. // System.Int32 System.String::_stringLength
  29. int32_t ____stringLength_4;
  30. // System.Char System.String::_firstChar
  31. Il2CppChar ____firstChar_5;
  32. };
  33. // System.ValueType
  34. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  35. {
  36. };
  37. // Native definition for P/Invoke marshalling of System.ValueType
  38. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  39. {
  40. };
  41. // Native definition for COM marshalling of System.ValueType
  42. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  43. {
  44. };
  45. // System.Int32
  46. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  47. {
  48. // System.Int32 System.Int32::m_value
  49. int32_t ___m_value_0;
  50. };
  51. // System.Void
  52. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  53. {
  54. union
  55. {
  56. struct
  57. {
  58. };
  59. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  60. };
  61. };
  62. // <Module>
  63. // <Module>
  64. // UnityEngine.ScreenCapture
  65. // UnityEngine.ScreenCapture
  66. // System.String
  67. struct String_t_StaticFields
  68. {
  69. // System.String System.String::Empty
  70. String_t* ___Empty_6;
  71. };
  72. // System.String
  73. // System.Int32
  74. // System.Int32
  75. // System.Void
  76. // System.Void
  77. #ifdef __clang__
  78. #pragma clang diagnostic pop
  79. #endif
  80. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32,UnityEngine.ScreenCapture/StereoScreenCaptureMode)
  81. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D (String_t* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method) ;
  82. #ifdef __clang__
  83. #pragma clang diagnostic push
  84. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  85. #pragma clang diagnostic ignored "-Wunused-variable"
  86. #endif
  87. #ifdef __clang__
  88. #pragma clang diagnostic pop
  89. #endif
  90. #ifdef __clang__
  91. #pragma clang diagnostic push
  92. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  93. #pragma clang diagnostic ignored "-Wunused-variable"
  94. #endif
  95. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String)
  96. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m897B0264A202824D377CCD9A5221B164DE2CF9DE (String_t* ___0_filename, const RuntimeMethod* method)
  97. {
  98. {
  99. String_t* L_0 = ___0_filename;
  100. ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D(L_0, 1, 1, NULL);
  101. return;
  102. }
  103. }
  104. // System.Void UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32,UnityEngine.ScreenCapture/StereoScreenCaptureMode)
  105. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D (String_t* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method)
  106. {
  107. typedef void (*ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D_ftn) (String_t*, int32_t, int32_t);
  108. static ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D_ftn _il2cpp_icall_func;
  109. if (!_il2cpp_icall_func)
  110. _il2cpp_icall_func = (ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.ScreenCapture::CaptureScreenshot(System.String,System.Int32,UnityEngine.ScreenCapture/StereoScreenCaptureMode)");
  111. _il2cpp_icall_func(___0_filename, ___1_superSize, ___2_CaptureMode);
  112. }
  113. #ifdef __clang__
  114. #pragma clang diagnostic pop
  115. #endif