| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510 |
- #include "pch-cpp.hpp"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <limits>
- #include <stdint.h>
- // System.Action`1<System.Int32Enum>
- struct Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B;
- // System.Action`1<System.Object>
- struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
- // System.Action`1<GooglePlayGames.BasicApi.SignInStatus>
- struct Action_1_t38A40574AB80CC30FF578C805B326880626B49AF;
- // System.Action`1<System.String>
- struct Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A;
- // System.Collections.Generic.Dictionary`2<System.String,System.String>
- struct Dictionary_2_t46B2DB028096FA2B828359E52F37F3105A83AD83;
- // System.Delegate[]
- struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
- // System.DelegateData
- struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
- // GoogleGamesSignIn
- struct GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19;
- // GooglePlayGames.BasicApi.Nearby.INearbyConnectionClient
- struct INearbyConnectionClient_tBFE8F3C727285D4A45458AAD496AFBB7816429AD;
- // GooglePlayGames.BasicApi.IPlayGamesClient
- struct IPlayGamesClient_tD4A3FB7D57BFF95CCE85912B197D18627787D58D;
- // System.Reflection.MethodInfo
- struct MethodInfo_t;
- // UnityEngine.MonoBehaviour
- struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
- // GooglePlayGames.PlayGamesLocalUser
- struct PlayGamesLocalUser_t518DD2559306213379CC2DF858E7DD18B46ADE73;
- // GooglePlayGames.PlayGamesPlatform
- struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9;
- // System.String
- struct String_t;
- // System.Void
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
- IL2CPP_EXTERN_C RuntimeClass* Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C String_t* _stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6;
- IL2CPP_EXTERN_C String_t* _stringLiteral0FD1A76EE169BB869B85365058427552CB07701A;
- IL2CPP_EXTERN_C String_t* _stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB;
- IL2CPP_EXTERN_C String_t* _stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE;
- IL2CPP_EXTERN_C const RuntimeMethod* GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var;
- struct Delegate_t_marshaled_com;
- struct Delegate_t_marshaled_pinvoke;
- IL2CPP_EXTERN_C_BEGIN
- IL2CPP_EXTERN_C_END
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // <Module>
- struct U3CModuleU3E_tBB65183F1134474D09FF49B95625D25472B9BA8B
- {
- };
- struct Il2CppArrayBounds;
- // GPGSIds
- struct GPGSIds_tFFFE7193525F360B8D42D2E05A5034EA4B080069 : public RuntimeObject
- {
- };
- // GooglePlayGames.PlayGamesPlatform
- struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9 : public RuntimeObject
- {
- // GooglePlayGames.PlayGamesLocalUser GooglePlayGames.PlayGamesPlatform::mLocalUser
- PlayGamesLocalUser_t518DD2559306213379CC2DF858E7DD18B46ADE73* ___mLocalUser_3;
- // GooglePlayGames.BasicApi.IPlayGamesClient GooglePlayGames.PlayGamesPlatform::mClient
- RuntimeObject* ___mClient_4;
- // System.String GooglePlayGames.PlayGamesPlatform::mDefaultLbUi
- String_t* ___mDefaultLbUi_5;
- // System.Collections.Generic.Dictionary`2<System.String,System.String> GooglePlayGames.PlayGamesPlatform::mIdMap
- Dictionary_2_t46B2DB028096FA2B828359E52F37F3105A83AD83* ___mIdMap_6;
- };
- struct PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9_StaticFields
- {
- // GooglePlayGames.PlayGamesPlatform modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sInstance
- PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* ___sInstance_0;
- // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sNearbyInitializePending
- bool ___sNearbyInitializePending_1;
- // GooglePlayGames.BasicApi.Nearby.INearbyConnectionClient modreq(System.Runtime.CompilerServices.IsVolatile) GooglePlayGames.PlayGamesPlatform::sNearbyConnectionClient
- RuntimeObject* ___sNearbyConnectionClient_2;
- };
- // System.String
- struct String_t : public RuntimeObject
- {
- // System.Int32 System.String::_stringLength
- int32_t ____stringLength_4;
- // System.Char System.String::_firstChar
- Il2CppChar ____firstChar_5;
- };
- struct String_t_StaticFields
- {
- // System.String System.String::Empty
- String_t* ___Empty_6;
- };
- // System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
- {
- };
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
- {
- };
- // System.Boolean
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
- {
- // System.Boolean System.Boolean::m_value
- bool ___m_value_0;
- };
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
- {
- // System.String System.Boolean::TrueString
- String_t* ___TrueString_5;
- // System.String System.Boolean::FalseString
- String_t* ___FalseString_6;
- };
- // System.IntPtr
- struct IntPtr_t
- {
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- };
- struct IntPtr_t_StaticFields
- {
- // System.IntPtr System.IntPtr::Zero
- intptr_t ___Zero_1;
- };
- // System.Void
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
- {
- union
- {
- struct
- {
- };
- uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
- };
- };
- // System.Delegate
- struct Delegate_t : public RuntimeObject
- {
- // System.IntPtr System.Delegate::method_ptr
- Il2CppMethodPointer ___method_ptr_0;
- // System.IntPtr System.Delegate::invoke_impl
- intptr_t ___invoke_impl_1;
- // System.Object System.Delegate::m_target
- RuntimeObject* ___m_target_2;
- // System.IntPtr System.Delegate::method
- intptr_t ___method_3;
- // System.IntPtr System.Delegate::delegate_trampoline
- intptr_t ___delegate_trampoline_4;
- // System.IntPtr System.Delegate::extra_arg
- intptr_t ___extra_arg_5;
- // System.IntPtr System.Delegate::method_code
- intptr_t ___method_code_6;
- // System.IntPtr System.Delegate::interp_method
- intptr_t ___interp_method_7;
- // System.IntPtr System.Delegate::interp_invoke_impl
- intptr_t ___interp_invoke_impl_8;
- // System.Reflection.MethodInfo System.Delegate::method_info
- MethodInfo_t* ___method_info_9;
- // System.Reflection.MethodInfo System.Delegate::original_method_info
- MethodInfo_t* ___original_method_info_10;
- // System.DelegateData System.Delegate::data
- DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
- // System.Boolean System.Delegate::method_is_virtual
- bool ___method_is_virtual_12;
- };
- // Native definition for P/Invoke marshalling of System.Delegate
- struct Delegate_t_marshaled_pinvoke
- {
- intptr_t ___method_ptr_0;
- intptr_t ___invoke_impl_1;
- Il2CppIUnknown* ___m_target_2;
- intptr_t ___method_3;
- intptr_t ___delegate_trampoline_4;
- intptr_t ___extra_arg_5;
- intptr_t ___method_code_6;
- intptr_t ___interp_method_7;
- intptr_t ___interp_invoke_impl_8;
- MethodInfo_t* ___method_info_9;
- MethodInfo_t* ___original_method_info_10;
- DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
- int32_t ___method_is_virtual_12;
- };
- // Native definition for COM marshalling of System.Delegate
- struct Delegate_t_marshaled_com
- {
- intptr_t ___method_ptr_0;
- intptr_t ___invoke_impl_1;
- Il2CppIUnknown* ___m_target_2;
- intptr_t ___method_3;
- intptr_t ___delegate_trampoline_4;
- intptr_t ___extra_arg_5;
- intptr_t ___method_code_6;
- intptr_t ___interp_method_7;
- intptr_t ___interp_invoke_impl_8;
- MethodInfo_t* ___method_info_9;
- MethodInfo_t* ___original_method_info_10;
- DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
- int32_t ___method_is_virtual_12;
- };
- // UnityEngine.Object
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
- {
- // System.IntPtr UnityEngine.Object::m_CachedPtr
- intptr_t ___m_CachedPtr_0;
- };
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
- {
- // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
- int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
- };
- // Native definition for P/Invoke marshalling of UnityEngine.Object
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
- {
- intptr_t ___m_CachedPtr_0;
- };
- // Native definition for COM marshalling of UnityEngine.Object
- struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
- {
- intptr_t ___m_CachedPtr_0;
- };
- // UnityEngine.Component
- struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
- {
- };
- // System.MulticastDelegate
- struct MulticastDelegate_t : public Delegate_t
- {
- // System.Delegate[] System.MulticastDelegate::delegates
- DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
- };
- // Native definition for P/Invoke marshalling of System.MulticastDelegate
- struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
- {
- Delegate_t_marshaled_pinvoke** ___delegates_13;
- };
- // Native definition for COM marshalling of System.MulticastDelegate
- struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
- {
- Delegate_t_marshaled_com** ___delegates_13;
- };
- // System.Action`1<GooglePlayGames.BasicApi.SignInStatus>
- struct Action_1_t38A40574AB80CC30FF578C805B326880626B49AF : public MulticastDelegate_t
- {
- };
- // System.Action`1<System.String>
- struct Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A : public MulticastDelegate_t
- {
- };
- // UnityEngine.Behaviour
- struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
- {
- };
- // UnityEngine.MonoBehaviour
- struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
- {
- };
- // GoogleGamesSignIn
- struct GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
- {
- // System.String GoogleGamesSignIn::Token
- String_t* ___Token_4;
- // System.String GoogleGamesSignIn::Error
- String_t* ___Error_5;
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // System.Void System.Action`1<System.Int32Enum>::.ctor(System.Object,System.IntPtr)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m8EDF953DA7FF0E33AE19FB51BD7DBDB7C495CFE0_gshared (Action_1_tC926860F20D428DA3E93D6FBA36420E904DD903B* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
- // System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
- // GooglePlayGames.PlayGamesPlatform GooglePlayGames.PlayGamesPlatform::Activate()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* PlayGamesPlatform_Activate_mCEEFD9D718E345CAA8A2522C571FE44E78C5E18D (const RuntimeMethod* method) ;
- // System.Void GoogleGamesSignIn::LoginGooglePlayGames()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method) ;
- // GooglePlayGames.PlayGamesPlatform GooglePlayGames.PlayGamesPlatform::get_Instance()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA (const RuntimeMethod* method) ;
- // System.Void System.Action`1<GooglePlayGames.BasicApi.SignInStatus>::.ctor(System.Object,System.IntPtr)
- inline void Action_1__ctor_m24EBA5E2D3AA733A71F462D8A93C172F7CCA8926 (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
- {
- (( void (*) (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m8EDF953DA7FF0E33AE19FB51BD7DBDB7C495CFE0_gshared)(__this, ___object0, ___method1, method);
- }
- // System.Void GooglePlayGames.PlayGamesPlatform::Authenticate(System.Action`1<GooglePlayGames.BasicApi.SignInStatus>)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayGamesPlatform_Authenticate_m75BB906DCAE3761C35DC362CEF42CE369C80BAF4 (PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* __this, Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* ___callback0, const RuntimeMethod* method) ;
- // System.Void UnityEngine.MonoBehaviour::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71* __this, const RuntimeMethod* method) ;
- // System.Void UnityEngine.Debug::Log(System.Object)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___message0, const RuntimeMethod* method) ;
- // System.Void System.Action`1<System.String>::.ctor(System.Object,System.IntPtr)
- inline void Action_1__ctor_m9DC2953C55C4D7D4B7BEFE03D84DA1F9362D652C (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
- {
- (( void (*) (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___object0, ___method1, method);
- }
- // System.Void GooglePlayGames.PlayGamesPlatform::RequestServerSideAccess(System.Boolean,System.Action`1<System.String>)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PlayGamesPlatform_RequestServerSideAccess_mCDDE95E76080EE7D9AF8234FBE380275F0B1AB32 (PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* __this, bool ___forceRefreshToken0, Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* ___callback1, const RuntimeMethod* method) ;
- // System.String System.String::Concat(System.String,System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method) ;
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void GoogleGamesSignIn::Awake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_Awake_m02FA0E3A30D1D809C1E8152E5C6582FDFE44D31A (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
- {
- {
- // PlayGamesPlatform.Activate();
- PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_0;
- L_0 = PlayGamesPlatform_Activate_mCEEFD9D718E345CAA8A2522C571FE44E78C5E18D(NULL);
- // LoginGooglePlayGames();
- GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6(__this, NULL);
- // }
- return;
- }
- }
- // System.Void GoogleGamesSignIn::LoginGooglePlayGames()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_LoginGooglePlayGames_mFE3EFDB8FD6B3C90050D4E0C702C8C6F5AE8A4F6 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // PlayGamesPlatform.Instance.Authenticate((success) =>
- // {
- // if (success == SignInStatus.Success)
- // {
- // Debug.Log("Login with Google Play games successful.");
- //
- // PlayGamesPlatform.Instance.RequestServerSideAccess(true, code =>
- // {
- // Debug.Log("Authorization code: " + code);
- // Token = code;
- // // This token serves as an example to be used for SignInWithGooglePlayGames
- // });
- // }
- // else
- // {
- // Error = "Failed to retrieve Google play games authorization code";
- // Debug.Log("Login Unsuccessful");
- // }
- // });
- PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_0;
- L_0 = PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA(NULL);
- Action_1_t38A40574AB80CC30FF578C805B326880626B49AF* L_1 = (Action_1_t38A40574AB80CC30FF578C805B326880626B49AF*)il2cpp_codegen_object_new(Action_1_t38A40574AB80CC30FF578C805B326880626B49AF_il2cpp_TypeInfo_var);
- NullCheck(L_1);
- Action_1__ctor_m24EBA5E2D3AA733A71F462D8A93C172F7CCA8926(L_1, __this, (intptr_t)((void*)GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA_RuntimeMethod_var), NULL);
- NullCheck(L_0);
- PlayGamesPlatform_Authenticate_m75BB906DCAE3761C35DC362CEF42CE369C80BAF4(L_0, L_1, NULL);
- // }
- return;
- }
- }
- // System.Void GoogleGamesSignIn::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn__ctor_m1708D416FCDA2BC6DB4A9F245C301FCEC16E15E4 (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, const RuntimeMethod* method)
- {
- {
- MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
- return;
- }
- }
- // System.Void GoogleGamesSignIn::<LoginGooglePlayGames>b__3_0(GooglePlayGames.BasicApi.SignInStatus)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_0_m4644EC29814237922C621FA1F3D3A69D178715EA (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, int32_t ___success0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (success == SignInStatus.Success)
- int32_t L_0 = ___success0;
- if (L_0)
- {
- goto IL_0025;
- }
- }
- {
- // Debug.Log("Login with Google Play games successful.");
- il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
- Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral0E1054C671D3C1A2D27912B32F4789476BBAE1D6, NULL);
- // PlayGamesPlatform.Instance.RequestServerSideAccess(true, code =>
- // {
- // Debug.Log("Authorization code: " + code);
- // Token = code;
- // // This token serves as an example to be used for SignInWithGooglePlayGames
- // });
- PlayGamesPlatform_tD21BC276B673A2B5309AF3B508E069C8594FAED9* L_1;
- L_1 = PlayGamesPlatform_get_Instance_m4BF29E171708F7E38273294DB10F88D5A4A534EA(NULL);
- Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A* L_2 = (Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A*)il2cpp_codegen_object_new(Action_1_t3CB5D1A819C3ED3F99E9E39F890F18633253949A_il2cpp_TypeInfo_var);
- NullCheck(L_2);
- Action_1__ctor_m9DC2953C55C4D7D4B7BEFE03D84DA1F9362D652C(L_2, __this, (intptr_t)((void*)GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE_RuntimeMethod_var), NULL);
- NullCheck(L_1);
- PlayGamesPlatform_RequestServerSideAccess_mCDDE95E76080EE7D9AF8234FBE380275F0B1AB32(L_1, (bool)1, L_2, NULL);
- return;
- }
- IL_0025:
- {
- // Error = "Failed to retrieve Google play games authorization code";
- __this->___Error_5 = _stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___Error_5), (void*)_stringLiteral1807717DB6A114B7AD5064840B1B6B11AE8A3CCE);
- // Debug.Log("Login Unsuccessful");
- il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
- Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral1314758E29EBE16E498BDE1E0B897B7B983AB6DB, NULL);
- // });
- return;
- }
- }
- // System.Void GoogleGamesSignIn::<LoginGooglePlayGames>b__3_1(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GoogleGamesSignIn_U3CLoginGooglePlayGamesU3Eb__3_1_m5BF9105BCCA3DFCEC577D08D28A676E271F3A4DE (GoogleGamesSignIn_t4A856CDEB00C96A4251B2E715E2A122E1B139B19* __this, String_t* ___code0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0FD1A76EE169BB869B85365058427552CB07701A);
- s_Il2CppMethodInitialized = true;
- }
- {
- // Debug.Log("Authorization code: " + code);
- String_t* L_0 = ___code0;
- String_t* L_1;
- L_1 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral0FD1A76EE169BB869B85365058427552CB07701A, L_0, NULL);
- il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
- Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(L_1, NULL);
- // Token = code;
- String_t* L_2 = ___code0;
- __this->___Token_4 = L_2;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___Token_4), (void*)L_2);
- // });
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
|