. | using Playnite.SDK.Metadata; |
| |
| 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; |
| |
| |
| namespace Playnite.SDK |
| namespace Playnite.SDK |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// Describes metadata provider for library games. |
| /// Describes metadata provider for library games. |
| /// </summary> |
| /// </summary> |
| public abstract class LibraryMetadataProvider : IDisposable |
| public abstract class LibraryMetadataProvider : IDisposable |
| { |
| { |
| /// <summary> |
| /// <summary> |
| /// <inheritdoc/> |
| /// <inheritdoc/> |
| /// </summary> |
| /// </summary> |
| public virtual void Dispose() |
| public virtual void Dispose() |
| { |
| { |
| } |
| } |
| |
| |
| /// <summary> |
| /// <summary> |
| /// Gets metadata for specified games. |
| /// Gets metadata for specified games. |
| /// </summary> |
| /// </summary> |
| /// <param name="game">Game to get data for.</param> |
| /// <param name="game">Game to get data for.</param> |
| /// <returns>Game metadata.</returns> |
| /// <returns>Game metadata.</returns> |
| public abstract GameMetadata GetMetadata(Game game); |
| public abstract GameMetadata GetMetadata(Game game); |
| } |
| } |
| } |
| } |
| |
| |