/// <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(); }
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"); } }