Class ToolkitProvenance
What ran, written into every result.json as Toolkit (schema 4): the package coordinates recorded by toolkit
assemblies (PackageProvenance) and, separately, the loaded assemblies including the runner
(LoadedAssemblies). Package coordinates are not evidence that a source-built runner used those package bytes.
Also records the runner (the entry assembly) and its SHA-256, and, when the provenance itself could
not be read, why (Error; the result is written regardless). Each actor's in-game plugin pins are
Plugins.
public sealed record ToolkitProvenance
- Inheritance
-
objectToolkitProvenance
Constructors
ToolkitProvenance(IReadOnlyList<PackageProvenance>, string, string, string?)
What ran, written into every result.json as Toolkit (schema 4): the package coordinates recorded by toolkit
assemblies (PackageProvenance) and, separately, the loaded assemblies including the runner
(LoadedAssemblies). Package coordinates are not evidence that a source-built runner used those package bytes.
Also records the runner (the entry assembly) and its SHA-256, and, when the provenance itself could
not be read, why (Error; the result is written regardless). Each actor's in-game plugin pins are
Plugins.
public ToolkitProvenance(IReadOnlyList<PackageProvenance> Packages, string Runner, string RunnerSha256, string? Error = null)
Parameters
PackagesIReadOnlyList<PackageProvenance>RunnerstringRunnerSha256stringErrorstring
Fields
Candidate
A local build identity (-candidate), never published.
public const string Candidate = "candidate"
Field Value
- string
Released
Built by the release workflow (Valheim.Testing*); for the transport, any version that is not a candidate.
public const string Released = "released"
Field Value
- string
Unreleased
A source build that is neither.
public const string Unreleased = "unreleased"
Field Value
- string
Properties
Error
public string? Error { get; init; }
Property Value
- string
LoadedAssemblies
The toolkit, transport and entry assemblies actually loaded, with file hashes and loaded module IDs.
public IReadOnlyList<LoadedAssemblyProvenance> LoadedAssemblies { get; init; }
Property Value
- IReadOnlyList<LoadedAssemblyProvenance>
Packages
public IReadOnlyList<PackageProvenance> Packages { get; init; }
Property Value
- IReadOnlyList<PackageProvenance>
Runner
public string Runner { get; init; }
Property Value
- string
RunnerSha256
public string RunnerSha256 { get; init; }
Property Value
- string