# MountProbe record

> What a game adapter's Probe returns when it recognises its game: which mount it is, how sure it is, what it saw, and what the game reads from outside its folder.

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

```csharp
public sealed record MountProbe
```

What a game adapter's [Probe](/docs/api/igameadapter#probe) returns when it recognises its game: which mount it is, how sure it is, what it saw, and what the game reads from outside its folder.

```csharp
return new MountProbe(new MountId(Game, Pc.Id, label), ProbeStatus.Known, tree)
    { Evidence = evidence, Externals = SteamClaims.Externals };
```

## Members

### MountProbe (constructor)

```csharp
public MountProbe(MountId Id, ProbeStatus Status, IFileSource Tree)
```

Makes a probe from the mount's id, its status and the tree the game was found in.

### Id (property)

```csharp
public MountId Id { get; init; }
```

The [MountId](/docs/api/mountid) the game mounts as.

### Status (property)

```csharp
public ProbeStatus Status { get; init; }
```

The [ProbeStatus](/docs/api/probestatus), which ranks it against other probes of the same tree.

### Tree (property)

```csharp
public IFileSource Tree { get; init; }
```

The tree the game was found in, usually the one `Probe` was given. The build's files and every part's files are read from it, unless a part names [files of its own](/docs/api/partplan#files).

### Confidence (property)

```csharp
public int Confidence { get; init; }
```

How sure the probe is, from 0 to 100, which is the default. When two probes of one tree have the same status, the higher wins.

### Evidence (property)

```csharp
public IReadOnlyList<string> Evidence { get; init; }
```

Short lines saying what the probe saw, printed in the boot transcript and by `just mounts`. Write them for a person.

### Externals (property)

```csharp
public IReadOnlyList<External> Externals { get; init; }
```

What the game reads from outside its own folder, by the names the game itself uses, such as Steam's `steamapps` and `depotcache` or a Garry's Mod workshop item. The host resolves them, through the pointer's `[externals]` table, open mounts and finders, before it calls [Open](/docs/api/igameadapter#open).
