LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

PluginResponse13.13

C#
public class Unbroken.LaunchBox.Plugins.PluginResponse
Response class used to give feedback on plugin functionality

Constructors

PluginResponse 13.13

C#
public PluginResponse(bool success, string? message = null)
Initializes the operation outcome.
success 13.13
Whether the operation succeeded.
message 13.27
Optional context or an error message for the user.

Properties

Message 13.13

C#
public string? Message { get; }
Message that will be potentially be displayed to the user to provide context to the success or failure of the requested action

WasSuccess 13.13

C#
public bool WasSuccess { get; }
Was the task successful?