# FoundArt record

> The images a store has cached for one game, as host file paths. Any of them is null when the store has none. A finder hands it back with each FoundInstall and from its Art.

Namespace `EvilEngine.Mounts`, assembly `EvilEngine.Mounts`. Engine commit 4ff877b1.

```csharp
public sealed record FoundArt
```

The images a store has cached for one game, as host file paths. Any of them is `null` when the store has none. A finder hands it back with each [FoundInstall](/docs/api/foundinstall#art) and from its [Art](/docs/api/ifinder#art).

The steam finder looks for each in `appcache/librarycache/<id>` under each Steam root, in subfolders too, whether or not the app is still installed. The main menu's library prefers the art its own Steam licence finds when that has a header or hero, and otherwise uses the install's.

## Members

### FoundArt (constructor)

```csharp
public FoundArt(string? Capsule, string? Header, string? Hero, string? Logo)
```

Makes art from the four images. Set [Icon](#icon) with an initialiser.

### Capsule (property)

```csharp
public string? Capsule { get; init; }
```

The tall cover image, Steam's `library_600x900.jpg`. The main menu's shelf of mounted games shows it at 160 by 240, and the game's title in its place when there's none.

### Header (property)

```csharp
public string? Header { get; init; }
```

The wide header image, Steam's `library_header.jpg`, or `header.jpg` when that's missing. The game's page uses it as the banner when there's no [Hero](#hero), and the Soundtracks tab heads each game's albums with it.

### Hero (property)

```csharp
public string? Hero { get; init; }
```

The wide banner image, Steam's `library_hero.jpg`, shown across the top of the game's page.

### Logo (property)

```csharp
public string? Logo { get; init; }
```

The game's logo on a clear background, Steam's `logo.png`, laid over the banner and fitted inside 320 by 110. The game's title is drawn there when there's none.

### Icon (property)

```csharp
public string? Icon { get; init; }
```

The small square icon, for Steam the `.jpg` in the cache folder named by 40 lower-case hex digits. The library row shows it at 16 by 16, and the first three letters of the platform in a box when there's none.

### None (property)

```csharp
public static FoundArt None { get; }
```

Art with every image `null`, which a finder returns when the store has nothing cached and a [FoundInstall](/docs/api/foundinstall) carries unless set.
