Interface IGameDatabase
Describes game databse API.
public interface IGameDatabase
Properties
AgeRatings
Gets collection of age ratings.
IItemCollection<AgeRating> AgeRatings { get; }
Property Value
Categories
Gets collection of categories.
IItemCollection<Category> Categories { get; }
Property Value
Companies
Gets collection of companies.
IItemCollection<Company> Companies { get; }
Property Value
CompletionStatuses
Gets collection of game statuses.
IItemCollection<CompletionStatus> CompletionStatuses { get; }
Property Value
Emulators
Gets collection of emulators.
IItemCollection<Emulator> Emulators { get; }
Property Value
Features
Gets collection of game features.
IItemCollection<GameFeature> Features { get; }
Property Value
FilterPresets
Gets collection of filter presets.
IItemCollection<FilterPreset> FilterPresets { get; }
Property Value
GameScanners
Gets collection of game features.
IItemCollection<GameScannerConfig> GameScanners { get; }
Property Value
Games
Gets collection of games.
IItemCollection<Game> Games { get; }
Property Value
Genres
Gets collection of genres.
IItemCollection<Genre> Genres { get; }
Property Value
ImportExclusions
Gets collection of import exclusions.
IItemCollection<ImportExclusionItem> ImportExclusions { get; }
Property Value
IsOpen
Gets value indicating whether database is opened.
bool IsOpen { get; }
Property Value
Platforms
Gets collections of platforms.
IItemCollection<Platform> Platforms { get; }
Property Value
Regions
Gets collection of regions.
IItemCollection<Region> Regions { get; }
Property Value
Series
Gets collection of series.
IItemCollection<Series> Series { get; }
Property Value
Sources
Gets collection of sources.
IItemCollection<GameSource> Sources { get; }
Property Value
Tags
Gets collection of tags.
IItemCollection<Tag> Tags { get; }
Property Value
Methods
GetFilteredGames(FilterPresetSettings)
Returns enumeration of all games matching specified filter settings.
IEnumerable<Game> GetFilteredGames(FilterPresetSettings filterSettings)
Parameters
filterSettings
FilterPresetSettings
Returns
GetFilteredGames(FilterPresetSettings, bool)
Returns enumeration of all games matching specified filter settings.
IEnumerable<Game> GetFilteredGames(FilterPresetSettings filterSettings, bool useFuzzyNameMatch)
Parameters
filterSettings
FilterPresetSettingsuseFuzzyNameMatch
bool
Returns
GetGameMatchesFilter(Game, FilterPresetSettings)
Checks if the game matches specified filter settings.
bool GetGameMatchesFilter(Game game, FilterPresetSettings filterSettings)
Parameters
game
GamefilterSettings
FilterPresetSettings
Returns
GetGameMatchesFilter(Game, FilterPresetSettings, bool)
Checks if the game matches specified filter settings.
bool GetGameMatchesFilter(Game game, FilterPresetSettings filterSettings, bool useFuzzyNameMatch)
Parameters
game
GamefilterSettings
FilterPresetSettingsuseFuzzyNameMatch
bool
Returns
ImportGame(GameMetadata)
Import new game into database.
Game ImportGame(GameMetadata game)
Parameters
game
GameMetadataGame data to import.
Returns
- Game
Imported game.
ImportGame(GameMetadata, LibraryPlugin)
Import new game into database from a library plugin.
Game ImportGame(GameMetadata game, LibraryPlugin sourcePlugin)
Parameters
game
GameMetadataGame data to import.
sourcePlugin
LibraryPluginSource library plugin.
Returns
- Game
Imported game.
Events
DatabaseOpened
Invoked when database is being opened.
event EventHandler DatabaseOpened