LaunchBoxContributors
On this page

EmulatorRetroAchievementsSupport14.1

Class in Unbroken.LaunchBox.Plugins.Components.Emulators

C#
public sealed class EmulatorRetroAchievementsSupport
Describes an emulator installation's RetroAchievements support and current state.

Constructors

EmulatorRetroAchievementsSupport

C#
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

CurrentToken

C#
public string? CurrentToken { get; }
Gets the currently configured API token.

CurrentUsername

C#
public string? CurrentUsername { get; }
Gets the currently configured username.

IsEnabled

C#
public bool IsEnabled { get; }
Gets whether RetroAchievements is enabled.

IsHardcore

C#
public bool IsHardcore { get; }
Gets whether hardcore mode is enabled.

IsSupported

C#
public bool IsSupported { get; }
Gets whether the emulator supports RetroAchievements.