Interface Preferences


  • public interface Preferences
    Stores the clients persisting preferences.
    • Method Detail

      • getRememberedUsername

        java.lang.String getRememberedUsername()
        Gets the remembered login username.
        Returns:
        the remembered username
      • setRememberedUsername

        void setRememberedUsername​(java.lang.String username)
        Sets the remembered login username.
        Parameters:
        username - the new remembered username
      • getSoundEffectVolume

        int getSoundEffectVolume()
        Gets the sound effect volume
        Returns:
        volume 0-127 inclusive
      • setSoundEffectVolume

        void setSoundEffectVolume​(int volume)
        Sets the sound effect volume
        Parameters:
        volume - 0-127 inclusive
      • getAreaSoundEffectVolume

        int getAreaSoundEffectVolume()
        Gets the area sound effect volume
        Returns:
        volume 0-127 inclusive
      • setAreaSoundEffectVolume

        void setAreaSoundEffectVolume​(int volume)
        Sets the area sound effect volume
        Parameters:
        volume - 0-127 inclusive
      • getHideUsername

        boolean getHideUsername()
        Gets if the login name should be replaced with asterisks