Example #1
0
 public static void Init(
     string clientId
     , string clientSecret
     , DelegateCore.OnSuccessInit onInitGameServiceSuccess
     , DelegateCore.OnError onInitGameServiceError)
 {
     GameServicePluginHandler.InitGameService(
         clientId,
         clientSecret,
         onInitGameServiceSuccess
         , onInitGameServiceError);
 }
 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);
 }