EmulatorRetroAchievementsSupport14.1
Class in Unbroken.LaunchBox.Plugins.Components.Emulators
public sealed class EmulatorRetroAchievementsSupportDescribes an emulator installation's RetroAchievements support and current state.
Constructors
EmulatorRetroAchievementsSupportInitializes a RetroAchievements support result.
EmulatorRetroAchievementsSupport
public EmulatorRetroAchievementsSupport(
bool isSupported,
bool isEnabled = false,
bool isHardcore = false,
string? username = null,
string? token = null
)Initializes a RetroAchievements support result.
isSupported- Whether the emulator supports RetroAchievements.
isEnabled- Whether RetroAchievements is enabled.
isHardcore- Whether hardcore mode is enabled.
username- The currently configured username.
token- The currently configured API token.
Properties
CurrentTokenGets the currently configured API token.CurrentUsernameGets the currently configured username.IsEnabledGets whether RetroAchievements is enabled.IsHardcoreGets whether hardcore mode is enabled.IsSupportedGets whether the emulator supports RetroAchievements.
CurrentToken
public string? CurrentToken { get; }Gets the currently configured API token.
CurrentUsername
public string? CurrentUsername { get; }Gets the currently configured username.
IsEnabled
public bool IsEnabled { get; }Gets whether RetroAchievements is enabled.
IsHardcore
public bool IsHardcore { get; }Gets whether hardcore mode is enabled.
IsSupported
public bool IsSupported { get; }Gets whether the emulator supports RetroAchievements.