public static void ShowLoginUI(
     bool checkAppStatus
     , bool checkOptionalUpdate
     , DelegateCore.IsUserLogin isUserLogin
     , DelegateCore.OnError error)
 {
     GameServicePluginHandler.InitGameLoginService(checkAppStatus, checkOptionalUpdate
                                                   , s =>
     {
         s.Call("ShowLoginUI",
                new IGameServiceLoginCheck(
                    isUserLogin.Invoke, error.Invoke));
     }
                                                   , error.Invoke);
 }
Esempio n. 2
0
 public static void CheckUserLoginStatus(
     bool checkAppStatus
     , bool checkOptionalUpdate
     , bool isLogEnable
     , DelegateCore.IsUserLogin userLogin
     , DelegateCore.OnError error)
 {
     AppPluginHandler.InitGameLoginService(
         checkAppStatus
         , checkOptionalUpdate
         , isLogEnable
         , s =>
     {
         s.Call("IsUserLoggedIn",
                new IGameServiceLoginCheck(
                    userLogin.Invoke
                    , error.Invoke));
     }, error.Invoke);
 }
 public IGameServiceLoginCheck(DelegateCore.IsUserLogin isUserLoggedIn, DelegateCore.OnError onError)
     : base("ir.FiroozehCorp.UnityPlugin.Interfaces.IGameServiceLoginCheck")
 {
     _UserLogin = isUserLoggedIn;
     _OnError   = onError;
 }
 public IGameServiceLoginCheck(DelegateCore.IsUserLogin isUserLoggedIn, DelegateCore.OnError onError)
     : base("ir.firoozehcorp.gameservice.android.unity.App.Interfaces.IGameServiceLoginCheck")
 {
     _UserLogin = isUserLoggedIn;
     _OnError   = onError;
 }