Interface IGameDatabase
Describes game databse API.
Properties
| Improve this Doc View SourceAgeRatings
Gets collection of age ratings.
Property Value
Type | Description |
---|---|
IItemCollectionAgeRating |
Categories
Gets collection of categories.
Property Value
Type | Description |
---|---|
IItemCollectionCategory |
Companies
Gets collection of companies.
Property Value
Type | Description |
---|---|
IItemCollectionCompany |
CompletionStatuses
Gets collection of game statuses.
Property Value
Type | Description |
---|---|
IItemCollectionCompletionStatus |
Emulators
Gets collection of emulators.
Property Value
Type | Description |
---|---|
IItemCollectionEmulator |
Features
Gets collection of game features.
Property Value
Type | Description |
---|---|
IItemCollectionGameFeature |
FilterPresets
Gets collection of filter presets.
Property Value
Type | Description |
---|---|
IItemCollectionFilterPreset |
Games
Gets collection of games.
Property Value
Type | Description |
---|---|
IItemCollectionGame |
GameScanners
Gets collection of game features.
Property Value
Type | Description |
---|---|
IItemCollectionGameScannerConfig |
Genres
Gets collection of genres.
Property Value
Type | Description |
---|---|
IItemCollectionGenre |
ImportExclusions
Gets collection of import exclusions.
Property Value
Type | Description |
---|---|
IItemCollectionImportExclusionItem |
IsOpen
Gets value indicating whether database is opened.
Property Value
Type | Description |
---|---|
bool |
Platforms
Gets collections of platforms.
Property Value
Type | Description |
---|---|
IItemCollectionPlatform |
Regions
Gets collection of regions.
Property Value
Type | Description |
---|---|
IItemCollectionRegion |
Series
Gets collection of series.
Property Value
Type | Description |
---|---|
IItemCollectionSeries |
Sources
Gets collection of sources.
Property Value
Type | Description |
---|---|
IItemCollectionGameSource |
Tags
Gets collection of tags.
Property Value
Type | Description |
---|---|
IItemCollectionTag |
Methods
| Improve this Doc View SourceGetFilteredGames(FilterPresetSettings, bool)
Returns enumeration of all games matching specified filter settings.
Parameters
Type | Name | Description |
---|---|---|
FilterPresetSettings | filterSettings | |
bool | useFuzzyNameMatch |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T>Game |
GetFilteredGames(FilterPresetSettings)
Returns enumeration of all games matching specified filter settings.
Parameters
Type | Name | Description |
---|---|---|
FilterPresetSettings | filterSettings |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T>Game |
GetGameMatchesFilter(Game, FilterPresetSettings, bool)
Checks if the game matches specified filter settings.
Parameters
Type | Name | Description |
---|---|---|
Game | game | |
FilterPresetSettings | filterSettings | |
bool | useFuzzyNameMatch |
Returns
Type | Description |
---|---|
bool |
GetGameMatchesFilter(Game, FilterPresetSettings)
Checks if the game matches specified filter settings.
Parameters
Type | Name | Description |
---|---|---|
Game | game | |
FilterPresetSettings | filterSettings |
Returns
Type | Description |
---|---|
bool |
ImportGame(GameMetadata, LibraryPlugin)
Import new game into database from a library plugin.
Parameters
Type | Name | Description |
---|---|---|
GameMetadata | game | Game data to import. |
LibraryPlugin | sourcePlugin | Source library plugin. |
Returns
Type | Description |
---|---|
Game | Imported game. |
ImportGame(GameMetadata)
Import new game into database.
Parameters
Type | Name | Description |
---|---|---|
GameMetadata | game | Game data to import. |
Returns
Type | Description |
---|---|
Game | Imported game. |
Events
| Improve this Doc View SourceDatabaseOpened
Invoked when database is being opened.
Event Type
Type | Description |
---|---|
System.EventHandler |