IStateManager7.10
Interface in Unbroken.LaunchBox.Plugins.Data
public interface IStateManager
This interface provides access to various information about the current state of LaunchBox and Big Box.
Properties
BigBoxCurrentTheme7.11Gets a value specifying the currently in use theme for Big Box.IsBigBoxGets a value specifying whether the running application is Big Box (true) or LaunchBox (false).IsBigBoxInAttractModeGets a value specifying whether Big Box is in attract mode or not.IsBigBoxLockedGets a value specifying whether Big Box is currently locked.IsPremiumGets a value specifying whether the current user is licensed for LaunchBox Premium.
BigBoxCurrentTheme 7.11
string BigBoxCurrentTheme { get; }
Gets a value specifying the currently in use theme for Big Box.
IsBigBox
bool IsBigBox { get; }
Gets a value specifying whether the running application is Big Box (true) or LaunchBox (false).
IsBigBoxInAttractMode
bool IsBigBoxInAttractMode { get; }
Gets a value specifying whether Big Box is in attract mode or not.
IsBigBoxLocked
bool IsBigBoxLocked { get; }
Gets a value specifying whether Big Box is currently locked.
IsPremium
bool IsPremium { get; }
Gets a value specifying whether the current user is licensed for LaunchBox Premium.
Methods
GetAllSelectedGamesGets an array of all of the currently selected games in LaunchBox or Big Box.GetSelectedPlatform9.8Gets the currently selected platform in LaunchBox or Big Box.
GetAllSelectedGames
IGame[] GetAllSelectedGames()
Gets an array of all of the currently selected games in LaunchBox or Big Box.
Returns
The selected games, or an empty array when no games are selected.GetSelectedPlatform 9.8
IPlatform GetSelectedPlatform()
Gets the currently selected platform in LaunchBox or Big Box.
Returns
The selected platform, ornull when no platform is selected.