Skip to content
EvilEngine.Mounts

MountProbe record

public sealed record MountProbe

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.

return new MountProbe(new MountId(Game, Pc.Id, label), ProbeStatus.Known, tree)
    { Evidence = evidence, Externals = SteamClaims.Externals };
Assembly
EvilEngine.Mounts
Commit
4ff877b1

Members

MountProbe constructor

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

public MountId Id { get; init; }

The MountId the game mounts as.

Status property

public ProbeStatus Status { get; init; }

The ProbeStatus, which ranks it against other probes of the same tree.

Tree property

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.

Confidence property

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

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

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.