| using Playnite.SDK.Models; |
| using Playnite.SDK.Models; |
| using System; |
| using System; |
| using System.Collections.Generic; |
| using System.Collections.Generic; |
| using System.Linq; |
| using System.Linq; |
| using System.Text; |
| using System.Text; |
| using System.Threading.Tasks; |
| using System.Threading.Tasks; |
| using System.Windows.Controls; |
| using System.Windows.Controls; |
| |
| |
| namespace Playnite.SDK |
| namespace Playnite.SDK |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// Describes interface for Fullscreen mode settings. |
| /// Describes interface for Fullscreen mode settings. |
| /// </summary> |
| /// </summary> |
| public interface IFullscreenSettingsAPI |
| public interface IFullscreenSettingsAPI |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool IsMusicMuted { get; set; } |
| bool IsMusicMuted { get; set; } |
| } |
| } |
| |
| |
| /// <summary> |
| /// <summary> |
. | |
| /// Describes interafce for completion status related settings. |
| |
| /// </summary> |
| |
| public interface ICompletionStatusSettignsApi |
| |
| { |
| |
| /// <summary> |
| |
| /// Gets ID of status to be assigned to newly added games. |
| |
| /// </summary> |
| |
| Guid DefaultStatus { get; } |
| |
| |
| |
| /// <summary> |
| |
| /// Gets ID of status to be assigned when a game is played for the first time. |
| |
| /// </summary> |
| |
| Guid PlayedStatus { get; } |
| |
| } |
| |
| |
| |
| /// <summary> |
| /// Describes application settings API. |
| /// Describes application settings API. |
| /// </summary> |
| /// </summary> |
| public interface IPlayniteSettingsAPI |
| public interface IPlayniteSettingsAPI |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| int Version { get; } |
| int Version { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| int GridItemWidthRatio { get; } |
| int GridItemWidthRatio { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| int GridItemHeightRatio { get; } |
| int GridItemHeightRatio { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool FirstTimeWizardComplete { get; } |
| bool FirstTimeWizardComplete { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool DisableHwAcceleration { get; } |
| bool DisableHwAcceleration { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool AsyncImageLoading { get; } |
| bool AsyncImageLoading { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool DownloadMetadataOnImport { get; } |
| bool DownloadMetadataOnImport { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool StartInFullscreen { get; } |
| bool StartInFullscreen { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| string DatabasePath { get; } |
| string DatabasePath { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool MinimizeToTray { get; } |
| bool MinimizeToTray { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool CloseToTray { get; } |
| bool CloseToTray { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool EnableTray { get; } |
| bool EnableTray { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| string Language { get; } |
| string Language { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool UpdateLibStartup { get; } |
| bool UpdateLibStartup { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| string DesktopTheme { get; } |
| string DesktopTheme { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| string FullscreenTheme { get; } |
| string FullscreenTheme { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool StartMinimized { get; } |
| bool StartMinimized { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool StartOnBoot { get; } |
| bool StartOnBoot { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool ForcePlayTimeSync { get; } |
| bool ForcePlayTimeSync { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| string FontFamilyName { get; } |
| string FontFamilyName { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool DiscordPresenceEnabled { get; } |
| bool DiscordPresenceEnabled { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| /// |
| /// |
| AgeRatingOrg AgeRatingOrgPriority { get; } |
| AgeRatingOrg AgeRatingOrgPriority { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| bool SidebarVisible { get; } |
| bool SidebarVisible { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// |
| /// |
| /// </summary> |
| /// </summary> |
| Dock SidebarPosition { get; } |
| Dock SidebarPosition { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets Fullscreen mode related settings. |
| /// Gets Fullscreen mode related settings. |
| /// </summary> |
| /// </summary> |
| IFullscreenSettingsAPI Fullscreen { get; } |
| IFullscreenSettingsAPI Fullscreen { get; } |
. | |
| |
| |
| /// <summary> |
| |
| /// Gets completion status related settings. |
| |
| /// </summary> |
| |
| ICompletionStatusSettignsApi CompletionStatus { get; } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Checks if game is added on import exclusion list. |
| /// Checks if game is added on import exclusion list. |
| /// </summary> |
| /// </summary> |
| /// <param name="gameId">Game ID.</param> |
| /// <param name="gameId">Game ID.</param> |
| /// <param name="libraryId">Library plugin ID.</param> |
| /// <param name="libraryId">Library plugin ID.</param> |
| /// <returns>True if game is on exclusion list.</returns> |
| /// <returns>True if game is on exclusion list.</returns> |
| bool GetGameExcludedFromImport(string gameId, Guid libraryId); |
| bool GetGameExcludedFromImport(string gameId, Guid libraryId); |
| } |
| } |
| } |
| } |
| |
| |