LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

RetroAchievementSupportResponse13.22

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

Constructors

RetroAchievementSupportResponse 13.22

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 13.22
Whether the emulator supports RetroAchievements.
isEnabled 13.22
Whether achievements are currently enabled.
isHardcore 13.22
Whether hardcore mode is currently enabled.
username 13.22
The currently configured username, if available.
token 13.22
The currently configured authentication token, if available.

Properties

CurrentToken 13.22

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

CurrentUsername 13.22

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

IsEnabled 13.22

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

IsHardcore 13.22

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

IsSupported 13.22

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