LaunchBoxContributors
On this page

InjectRetroAchievementsCredentialsArgs13.22

Class in Unbroken.LaunchBox.Plugins

C#
public class InjectRetroAchievementsCredentialsArgs
Supplies RetroAchievements credentials and optional setting changes for an emulator.

Constructors

InjectRetroAchievementsCredentialsArgs Changed 13.27

C#
public InjectRetroAchievementsCredentialsArgs(
    string? appPath,
    string username,
    string token,
    bool? enable = null,
    bool? hardcore = null
)
Initializes an emulator credential and achievement-settings update.
appPath
The target emulator application path.
username
The RetroAchievements username.
token
The RetroAchievements authentication token.
enable
Whether to enable achievements, or null to retain the current setting.
hardcore
Whether to enable hardcore mode, or null to retain the current setting.

Properties

EmulatorApplicationPath Changed 13.27

C#
public string? EmulatorApplicationPath { get; }
Gets the path of the emulator whose settings should be updated.

HardcoreEnabled

C#
public bool? HardcoreEnabled { get; }
Set whether hardcode mode is enabled in the emulator. If null leave value as it's currently set (or default value)

IsEnabled

C#
public bool? IsEnabled { get; }
Set whether achievements are enabled in the emulator. If null leave value as it's currently set (or default value)

Token Changed 13.27

C#
public string? Token { get; }
Gets the RetroAchievements authentication token.

Username Changed 13.27

C#
public string? Username { get; }
Gets the RetroAchievements username.