External record
public sealed record External Something a game reads from outside its own folder, declared by name in its probe’s Externals: Steam’s steamapps folder, a workshop, a save folder, another game. The host resolves each into a ResolvedExternal before it calls Open, which reads them from Externals by the same name.
public static readonly External Steamapps =
External.Folder("steamapps", new ExternalHint.Beside("../..")) with { Shallow = true };
The player’s pointer can set each one in its [externals] table, by name: an absolute path to use instead of the Hint, false to turn it off, or true to turn on one that’s off by default. A path set there is used as it is, and a missing one stays missing rather than falling back to the hint.
- Assembly
- EvilEngine.Mounts
- Commit
- 4ff877b1