EmulatorRetroAchievementsCredentialsRequest14.1
Class in Unbroken.LaunchBox.Plugins.Components.Emulators
public sealed class EmulatorRetroAchievementsCredentialsRequestProvides the context for configuring RetroAchievements credentials and settings.
Constructors
EmulatorRetroAchievementsCredentialsRequestInitializes a RetroAchievements configuration request.
EmulatorRetroAchievementsCredentialsRequest
public EmulatorRetroAchievementsCredentialsRequest(
string applicationPath,
string username,
string token,
bool enable,
bool hardcore
)Initializes a RetroAchievements configuration request.
applicationPath- The path to the emulator executable.
username- The RetroAchievements username, or an empty string to clear it.
token- The RetroAchievements API token, or an empty string to clear it.
enable- Whether RetroAchievements should be enabled.
hardcore- Whether hardcore mode should be enabled.
Properties
EmulatorApplicationPathGets the path to the emulator executable.HardcoreEnabledGets whether hardcore mode should be enabled.IsEnabledGets whether RetroAchievements should be enabled.TokenGets the RetroAchievements API token, or an empty string when the credentials are being cleared.UsernameGets the RetroAchievements username, or an empty string when the credentials are being cleared.
EmulatorApplicationPath
public string EmulatorApplicationPath { get; }Gets the path to the emulator executable.
HardcoreEnabled
public bool HardcoreEnabled { get; }Gets whether hardcore mode should be enabled.
IsEnabled
public bool IsEnabled { get; }Gets whether RetroAchievements should be enabled.
Token
public string Token { get; }Gets the RetroAchievements API token, or an empty string when the credentials are being cleared.
Username
public string Username { get; }Gets the RetroAchievements username, or an empty string when the credentials are being cleared.