Assembly-CSharp.cpp 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  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.Action`1<System.Int32Enum>
  10. struct Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B;
  11. // System.Action`1<System.Object>
  12. struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
  13. // System.Action`1<GooglePlayGames.BasicApi.SignInStatus>
  14. struct Action_1_t38A40574AB80CC30FF578C805B326880626B49AF;
  15. // System.Action`1<System.String>
  16. struct Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A;
  17. // System.Collections.Generic.Dictionary`2<System.String,System.String>
  18. struct Dictionary_2_t46B2DB028096FA2B828359E52F37F3105A83AD83;
  19. // System.Delegate[]
  20. struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
  21. // System.DelegateData
  22. struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
  23. // GoogleGamesSignIn
  24. struct GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19;
  25. // GooglePlayGames.BasicApi.Nearby.INearbyConnectionClient
  26. struct INearbyConnectionClient_tBFE8F3C727285D4A45458AAD496AFBB7816429AD;
  27. // GooglePlayGames.BasicApi.IPlayGamesClient
  28. struct IPlayGamesClient_tD4A3FB7D57BFF95CCE85912B197D18627787D58D;
  29. // System.Reflection.MethodInfo
  30. struct MethodInfo_t;
  31. // UnityEngine.MonoBehaviour
  32. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
  33. // GooglePlayGames.PlayGamesLocalUser
  34. struct PlayGamesLocalUser_t518DD2559306213379CC2DF858E7DD18B46ADE73;
  35. // GooglePlayGames.PlayGamesPlatform
  36. struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9;
  37. // System.String
  38. struct String_t;
  39. // System.Void
  40. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  41. IL2CPP_EXTERN_C RuntimeClass* Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var;
  42. IL2CPP_EXTERN_C RuntimeClass* Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var;
  43. IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
  44. IL2CPP_EXTERN_C String_t* _stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6;
  45. IL2CPP_EXTERN_C String_t* _stringLiteral0FD1A76EE169BB869B85365058427552CB07701A;
  46. IL2CPP_EXTERN_C String_t* _stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB;
  47. IL2CPP_EXTERN_C String_t* _stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE;
  48. IL2CPP_EXTERN_C const RuntimeMethod* GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var;
  49. IL2CPP_EXTERN_C const RuntimeMethod* GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var;
  50. struct Delegate_t_marshaled_com;
  51. struct Delegate_t_marshaled_pinvoke;
  52. IL2CPP_EXTERN_C_BEGIN
  53. IL2CPP_EXTERN_C_END
  54. #ifdef __clang__
  55. #pragma clang diagnostic push
  56. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  57. #pragma clang diagnostic ignored "-Wunused-variable"
  58. #endif
  59. // <Module>
  60. struct U3CModuleU3E_tBB65183F1134474D09FF49B95625D25472B9BA8B
  61. {
  62. };
  63. struct Il2CppArrayBounds;
  64. // GPGSIds
  65. struct GPGSIds_tFFFE7193525F360B8D42D2E05A5034EA4B080069 : public RuntimeObject
  66. {
  67. };
  68. // GooglePlayGames.PlayGamesPlatform
  69. struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9 : public RuntimeObject
  70. {
  71. // GooglePlayGames.PlayGamesLocalUser GooglePlayGames.PlayGamesPlatform::mLocalUser
  72. PlayGamesLocalUser_t518DD2559306213379CC2DF858E7DD18B46ADE73* ___mLocalUser_3;
  73. // GooglePlayGames.BasicApi.IPlayGamesClient GooglePlayGames.PlayGamesPlatform::mClient
  74. RuntimeObject* ___mClient_4;
  75. // System.String GooglePlayGames.PlayGamesPlatform::mDefaultLbUi
  76. String_t* ___mDefaultLbUi_5;
  77. // System.Collections.Generic.Dictionary`2<System.String,System.String> GooglePlayGames.PlayGamesPlatform::mIdMap
  78. Dictionary_2_t46B2DB028096FA2B828359E52F37F3105A83AD83* ___mIdMap_6;
  79. };
  80. struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9_StaticFields
  81. {
  82. // GooglePlayGames.PlayGamesPlatform modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sInstance
  83. PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* ___sInstance_0;
  84. // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sNearbyInitializePending
  85. bool ___sNearbyInitializePending_1;
  86. // GooglePlayGames.BasicApi.Nearby.INearbyConnectionClient modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sNearbyConnectionClient
  87. RuntimeObject* ___sNearbyConnectionClient_2;
  88. };
  89. // System.String
  90. struct String_t : public RuntimeObject
  91. {
  92. // System.Int32 System.String::_stringLength
  93. int32_t ____stringLength_4;
  94. // System.Char System.String::_firstChar
  95. Il2CppChar ____firstChar_5;
  96. };
  97. struct String_t_StaticFields
  98. {
  99. // System.String System.String::Empty
  100. String_t* ___Empty_6;
  101. };
  102. // System.ValueType
  103. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  104. {
  105. };
  106. // Native definition for P/Invoke marshalling of System.ValueType
  107. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  108. {
  109. };
  110. // Native definition for COM marshalling of System.ValueType
  111. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  112. {
  113. };
  114. // System.Boolean
  115. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  116. {
  117. // System.Boolean System.Boolean::m_value
  118. bool ___m_value_0;
  119. };
  120. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  121. {
  122. // System.String System.Boolean::TrueString
  123. String_t* ___TrueString_5;
  124. // System.String System.Boolean::FalseString
  125. String_t* ___FalseString_6;
  126. };
  127. // System.IntPtr
  128. struct IntPtr_t
  129. {
  130. // System.Void* System.IntPtr::m_value
  131. void* ___m_value_0;
  132. };
  133. struct IntPtr_t_StaticFields
  134. {
  135. // System.IntPtr System.IntPtr::Zero
  136. intptr_t ___Zero_1;
  137. };
  138. // System.Void
  139. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  140. {
  141. union
  142. {
  143. struct
  144. {
  145. };
  146. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  147. };
  148. };
  149. // System.Delegate
  150. struct Delegate_t : public RuntimeObject
  151. {
  152. // System.IntPtr System.Delegate::method_ptr
  153. Il2CppMethodPointer ___method_ptr_0;
  154. // System.IntPtr System.Delegate::invoke_impl
  155. intptr_t ___invoke_impl_1;
  156. // System.Object System.Delegate::m_target
  157. RuntimeObject* ___m_target_2;
  158. // System.IntPtr System.Delegate::method
  159. intptr_t ___method_3;
  160. // System.IntPtr System.Delegate::delegate_trampoline
  161. intptr_t ___delegate_trampoline_4;
  162. // System.IntPtr System.Delegate::extra_arg
  163. intptr_t ___extra_arg_5;
  164. // System.IntPtr System.Delegate::method_code
  165. intptr_t ___method_code_6;
  166. // System.IntPtr System.Delegate::interp_method
  167. intptr_t ___interp_method_7;
  168. // System.IntPtr System.Delegate::interp_invoke_impl
  169. intptr_t ___interp_invoke_impl_8;
  170. // System.Reflection.MethodInfo System.Delegate::method_info
  171. MethodInfo_t* ___method_info_9;
  172. // System.Reflection.MethodInfo System.Delegate::original_method_info
  173. MethodInfo_t* ___original_method_info_10;
  174. // System.DelegateData System.Delegate::data
  175. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  176. // System.Boolean System.Delegate::method_is_virtual
  177. bool ___method_is_virtual_12;
  178. };
  179. // Native definition for P/Invoke marshalling of System.Delegate
  180. struct Delegate_t_marshaled_pinvoke
  181. {
  182. intptr_t ___method_ptr_0;
  183. intptr_t ___invoke_impl_1;
  184. Il2CppIUnknown* ___m_target_2;
  185. intptr_t ___method_3;
  186. intptr_t ___delegate_trampoline_4;
  187. intptr_t ___extra_arg_5;
  188. intptr_t ___method_code_6;
  189. intptr_t ___interp_method_7;
  190. intptr_t ___interp_invoke_impl_8;
  191. MethodInfo_t* ___method_info_9;
  192. MethodInfo_t* ___original_method_info_10;
  193. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  194. int32_t ___method_is_virtual_12;
  195. };
  196. // Native definition for COM marshalling of System.Delegate
  197. struct Delegate_t_marshaled_com
  198. {
  199. intptr_t ___method_ptr_0;
  200. intptr_t ___invoke_impl_1;
  201. Il2CppIUnknown* ___m_target_2;
  202. intptr_t ___method_3;
  203. intptr_t ___delegate_trampoline_4;
  204. intptr_t ___extra_arg_5;
  205. intptr_t ___method_code_6;
  206. intptr_t ___interp_method_7;
  207. intptr_t ___interp_invoke_impl_8;
  208. MethodInfo_t* ___method_info_9;
  209. MethodInfo_t* ___original_method_info_10;
  210. DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
  211. int32_t ___method_is_virtual_12;
  212. };
  213. // UnityEngine.Object
  214. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
  215. {
  216. // System.IntPtr UnityEngine.Object::m_CachedPtr
  217. intptr_t ___m_CachedPtr_0;
  218. };
  219. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
  220. {
  221. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  222. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  223. };
  224. // Native definition for P/Invoke marshalling of UnityEngine.Object
  225. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
  226. {
  227. intptr_t ___m_CachedPtr_0;
  228. };
  229. // Native definition for COM marshalling of UnityEngine.Object
  230. struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
  231. {
  232. intptr_t ___m_CachedPtr_0;
  233. };
  234. // UnityEngine.Component
  235. struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
  236. {
  237. };
  238. // System.MulticastDelegate
  239. struct MulticastDelegate_t : public Delegate_t
  240. {
  241. // System.Delegate[] System.MulticastDelegate::delegates
  242. DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
  243. };
  244. // Native definition for P/Invoke marshalling of System.MulticastDelegate
  245. struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
  246. {
  247. Delegate_t_marshaled_pinvoke** ___delegates_13;
  248. };
  249. // Native definition for COM marshalling of System.MulticastDelegate
  250. struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
  251. {
  252. Delegate_t_marshaled_com** ___delegates_13;
  253. };
  254. // System.Action`1<GooglePlayGames.BasicApi.SignInStatus>
  255. struct Action_1_t38A40574AB80CC30FF578C805B326880626B49AF : public MulticastDelegate_t
  256. {
  257. };
  258. // System.Action`1<System.String>
  259. struct Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A : public MulticastDelegate_t
  260. {
  261. };
  262. // UnityEngine.Behaviour
  263. struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
  264. {
  265. };
  266. // UnityEngine.MonoBehaviour
  267. struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
  268. {
  269. };
  270. // GoogleGamesSignIn
  271. struct GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
  272. {
  273. // System.String GoogleGamesSignIn::Token
  274. String_t* ___Token_4;
  275. // System.String GoogleGamesSignIn::Error
  276. String_t* ___Error_5;
  277. };
  278. #ifdef __clang__
  279. #pragma clang diagnostic pop
  280. #endif
  281. // System.Void System.Action`1<System.Int32Enum>::.ctor(System.Object,System.IntPtr)
  282. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m8EDF953DA7FF0E33AE19FB51BD7DBDB7C495CFE0_gshared (Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
  283. // System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
  284. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
  285. // GooglePlayGames.PlayGamesPlatform GooglePlayGames.PlayGamesPlatform::Activate()
  286. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* PlayGamesPlatform_Activate_mCEEFD9D718E345CAA8A2522C571FE44E78C5E18D (const RuntimeMethod* method) ;
  287. // System.Void GoogleGamesSignIn::LoginGooglePlayGames()
  288. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method) ;
  289. // GooglePlayGames.PlayGamesPlatform GooglePlayGames.PlayGamesPlatform::get_Instance()
  290. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA (const RuntimeMethod* method) ;
  291. // System.Void System.Action`1<GooglePlayGames.BasicApi.SignInStatus>::.ctor(System.Object,System.IntPtr)
  292. inline void Action_1__ctor_m24EBA5E2D3AA733A71F462D8A93C172F7CCA8926 (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
  293. {
  294. (( void (*) (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m8EDF953DA7FF0E33AE19FB51BD7DBDB7C495CFE0_gshared)(__this, ___object0, ___method1, method);
  295. }
  296. // System.Void GooglePlayGames.PlayGamesPlatform::Authenticate(System.Action`1<GooglePlayGames.BasicApi.SignInStatus>)
  297. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayGamesPlatform_Authenticate_m75BB906DCAE3761C35DC362CEF42CE369C80BAF4 (PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* __this, Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* ___callback0, const RuntimeMethod* method) ;
  298. // System.Void UnityEngine.MonoBehaviour::.ctor()
  299. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
  300. // System.Void UnityEngine.Debug::Log(System.Object)
  301. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___message0, const RuntimeMethod* method) ;
  302. // System.Void System.Action`1<System.String>::.ctor(System.Object,System.IntPtr)
  303. inline void Action_1__ctor_m9DC2953C55C4D7D4B7BEFE03D84DA1F9362D652C (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
  304. {
  305. (( void (*) (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___object0, ___method1, method);
  306. }
  307. // System.Void GooglePlayGames.PlayGamesPlatform::RequestServerSideAccess(System.Boolean,System.Action`1<System.String>)
  308. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayGamesPlatform_RequestServerSideAccess_mCDDE95E76080EE7D9AF8234FBE380275F0B1AB32 (PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* __this, bool ___forceRefreshToken0, Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* ___callback1, const RuntimeMethod* method) ;
  309. // System.String System.String::Concat(System.String,System.String)
  310. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method) ;
  311. #ifdef __clang__
  312. #pragma clang diagnostic push
  313. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  314. #pragma clang diagnostic ignored "-Wunused-variable"
  315. #endif
  316. #ifdef __clang__
  317. #pragma clang diagnostic pop
  318. #endif
  319. #ifdef __clang__
  320. #pragma clang diagnostic push
  321. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  322. #pragma clang diagnostic ignored "-Wunused-variable"
  323. #endif
  324. #ifdef __clang__
  325. #pragma clang diagnostic pop
  326. #endif
  327. #ifdef __clang__
  328. #pragma clang diagnostic push
  329. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  330. #pragma clang diagnostic ignored "-Wunused-variable"
  331. #endif
  332. // System.Void GoogleGamesSignIn::Awake()
  333. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_Awake_m02FA0E3A30D1D809C1E8152E5C6582FDFE44D31A (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
  334. {
  335. {
  336. // PlayGamesPlatform.Activate();
  337. PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_0;
  338. L_0 = PlayGamesPlatform_Activate_mCEEFD9D718E345CAA8A2522C571FE44E78C5E18D(NULL);
  339. // LoginGooglePlayGames();
  340. GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6(__this, NULL);
  341. // }
  342. return;
  343. }
  344. }
  345. // System.Void GoogleGamesSignIn::LoginGooglePlayGames()
  346. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
  347. {
  348. static bool s_Il2CppMethodInitialized;
  349. if (!s_Il2CppMethodInitialized)
  350. {
  351. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var);
  352. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var);
  353. s_Il2CppMethodInitialized = true;
  354. }
  355. {
  356. // PlayGamesPlatform.Instance.Authenticate((success) =>
  357. // {
  358. // if (success == SignInStatus.Success)
  359. // {
  360. // Debug.Log("Login with Google Play games successful.");
  361. //
  362. // PlayGamesPlatform.Instance.RequestServerSideAccess(true, code =>
  363. // {
  364. // Debug.Log("Authorization code: " + code);
  365. // Token = code;
  366. // // This token serves as an example to be used for SignInWithGooglePlayGames
  367. // });
  368. // }
  369. // else
  370. // {
  371. // Error = "Failed to retrieve Google play games authorization code";
  372. // Debug.Log("Login Unsuccessful");
  373. // }
  374. // });
  375. PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_0;
  376. L_0 = PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA(NULL);
  377. Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* L_1 = (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF*)il2cpp_codegen_object_new(Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var);
  378. NullCheck(L_1);
  379. Action_1__ctor_m24EBA5E2D3AA733A71F462D8A93C172F7CCA8926(L_1, __this, (intptr_t)((void*)GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var), NULL);
  380. NullCheck(L_0);
  381. PlayGamesPlatform_Authenticate_m75BB906DCAE3761C35DC362CEF42CE369C80BAF4(L_0, L_1, NULL);
  382. // }
  383. return;
  384. }
  385. }
  386. // System.Void GoogleGamesSignIn::.ctor()
  387. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn__ctor_m1708D416FCDA2BC6DB4A9F245C301FCEC16E15E4 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
  388. {
  389. {
  390. MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
  391. return;
  392. }
  393. }
  394. // System.Void GoogleGamesSignIn::<LoginGooglePlayGames>b__3_0(GooglePlayGames.BasicApi.SignInStatus)
  395. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, int32_t ___success0, const RuntimeMethod* method)
  396. {
  397. static bool s_Il2CppMethodInitialized;
  398. if (!s_Il2CppMethodInitialized)
  399. {
  400. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var);
  401. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  402. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var);
  403. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6);
  404. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB);
  405. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE);
  406. s_Il2CppMethodInitialized = true;
  407. }
  408. {
  409. // if (success == SignInStatus.Success)
  410. int32_t L_0 = ___success0;
  411. if (L_0)
  412. {
  413. goto IL_0025;
  414. }
  415. }
  416. {
  417. // Debug.Log("Login with Google Play games successful.");
  418. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  419. Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6, NULL);
  420. // PlayGamesPlatform.Instance.RequestServerSideAccess(true, code =>
  421. // {
  422. // Debug.Log("Authorization code: " + code);
  423. // Token = code;
  424. // // This token serves as an example to be used for SignInWithGooglePlayGames
  425. // });
  426. PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_1;
  427. L_1 = PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA(NULL);
  428. Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* L_2 = (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A*)il2cpp_codegen_object_new(Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var);
  429. NullCheck(L_2);
  430. Action_1__ctor_m9DC2953C55C4D7D4B7BEFE03D84DA1F9362D652C(L_2, __this, (intptr_t)((void*)GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var), NULL);
  431. NullCheck(L_1);
  432. PlayGamesPlatform_RequestServerSideAccess_mCDDE95E76080EE7D9AF8234FBE380275F0B1AB32(L_1, (bool)1, L_2, NULL);
  433. return;
  434. }
  435. IL_0025:
  436. {
  437. // Error = "Failed to retrieve Google play games authorization code";
  438. __this->___Error_5 = _stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE;
  439. Il2CppCodeGenWriteBarrier((void**)(&__this->___Error_5), (void*)_stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE);
  440. // Debug.Log("Login Unsuccessful");
  441. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  442. Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB, NULL);
  443. // });
  444. return;
  445. }
  446. }
  447. // System.Void GoogleGamesSignIn::<LoginGooglePlayGames>b__3_1(System.String)
  448. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, String_t* ___code0, const RuntimeMethod* method)
  449. {
  450. static bool s_Il2CppMethodInitialized;
  451. if (!s_Il2CppMethodInitialized)
  452. {
  453. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  454. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0FD1A76EE169BB869B85365058427552CB07701A);
  455. s_Il2CppMethodInitialized = true;
  456. }
  457. {
  458. // Debug.Log("Authorization code: " + code);
  459. String_t* L_0 = ___code0;
  460. String_t* L_1;
  461. L_1 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral0FD1A76EE169BB869B85365058427552CB07701A, L_0, NULL);
  462. il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
  463. Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(L_1, NULL);
  464. // Token = code;
  465. String_t* L_2 = ___code0;
  466. __this->___Token_4 = L_2;
  467. Il2CppCodeGenWriteBarrier((void**)(&__this->___Token_4), (void*)L_2);
  468. // });
  469. return;
  470. }
  471. }
  472. #ifdef __clang__
  473. #pragma clang diagnostic pop
  474. #endif