14.1 Beta 1 SDK
IGameBadge10.11
public interface Unbroken.LaunchBox.Plugins.Data.IGameBadge
Represents a badge that can be displayed on games; can be implemented as a plugin and will be automatically added to LaunchBox
Properties
System.Drawing.Image DefaultIcon { get; }int Index { get; set; }string Name { get; }string UniqueId { get; }
DefaultIcon 10.11
System.Drawing.Image DefaultIcon { get; }
The default image icon to display for the badge; can be overridden by the user in the file system
Index 10.11
int Index { get; set; }
The index of where to display the badge in the list
Name 10.11
string Name { get; }
The user-friendly (and hopefully translated) name of the badge (displays with a tooltip)
UniqueId 10.11
string UniqueId { get; }
The unique ID/never-changing name of the badge; used for XML settings saving and image file lookups
Methods
GetAppliesToGame 10.11
bool GetAppliesToGame(Unbroken.LaunchBox.Plugins.Data.IGame game)
Gets a value specifying whether or not this badge applies to the specified game
game10.11- The game to check