コード例 #1
0
 /// <summary>
 ///     Logout From Game Service
 /// </summary>
 public static void Logout()
 {
     UserToken           = null;
     CurrentInternalGame = null;
     PlayToken           = null;
     CommandInfo         = null;
     IsAvailable         = false;
     IsGuest             = false;
     GSLive?.Dispose();
     GsWebRequest.Dispose();
 }
コード例 #2
0
 public GameService(AndroidJavaObject gameService, GameServiceType type, bool haveNotification)
 {
     if (gameService != null)
     {
         _haveNotification = haveNotification;
         _gameServiceObj   = gameService;
         _type             = type;
         _isAvailable      = true;
         GSLive            = new GSLive();
     }
     else
     {
         throw new GameServiceException("GameServiceObj Is NULL");
     }
 }