LaunchBoxContributors
On this page

RetroAchievementSupportResponse13.22

Class in Unbroken.LaunchBox.Plugins

C#
public class RetroAchievementSupportResponse
Reports an emulator's RetroAchievements support and current configuration.

Constructors

RetroAchievementSupportResponse Changed 13.27

C#
public RetroAchievementSupportResponse(
    bool isSupported,
    bool isEnabled = false,
    bool isHardcore = false,
    string? username = null,
    string? token = null
)
Initializes the emulator's RetroAchievements support state.
isSupported
Whether the emulator supports RetroAchievements.
isEnabled
Whether achievements are currently enabled.
isHardcore
Whether hardcore mode is currently enabled.
username
The currently configured username, if available.
token
The currently configured authentication token, if available.

Properties

CurrentToken Changed 13.27

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

CurrentUsername Changed 13.27

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

IsEnabled

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

IsHardcore

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

IsSupported

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