Skip to content
EvilEngine.Mounts

MountLicence record

public sealed record MountLicence

Which product on which storefront a piece of content comes with: a store’s name and the product’s id there, as in steam and 220 for Half-Life 2.

Garry’s Mod’s depot externals carry one each, such as steam and 400 for Portal. The main menu’s library builds its own for each game from [stores] in the adapter’s adapter.toml, and from a Steam install’s key when the game has none, and uses a Steam one for the Store page and Install in Steam buttons. Nothing reads an external’s licence yet.

Assembly
EvilEngine.Mounts
Commit
4ff877b1

Members

MountLicence constructor

public MountLicence(string Storefront, string Product)

Makes a licence from the storefront and the product.

Storefront property

public string Storefront { get; init; }

The storefront’s name, the same as a finder’s Store, such as steam.

Product property

public string Product { get; init; }

The product’s id on that storefront, as text. For Steam it’s the app id, without the app/ a finder’s key puts in front.