Table of Contents

Class StagedArm

Namespace
Valheim.Testing.GameSessions
Assembly
Valheim.Testing.GameSessions.dll

One arm staged into the disposable install and preflighted: the strict client plan the runner hands to ClientRounds, and the run manifest.

public sealed class StagedArm
Inheritance
object
StagedArm

Properties

Arm

public string Arm { get; }

Property Value

string

Manifest

public RunManifest Manifest { get; }

Property Value

RunManifest

Plan

The strict client plan: every staged plugin pinned by MD5 under its declared GUID, the install pins and the pinned fixture.

public ClientRunPlan Plan { get; }

Property Value

ClientRunPlan

Tree

Every staged file under BepInEx/plugins, patchers, config and scripts, by relative path and SHA256.

public IReadOnlyDictionary<string, string> Tree { get; }

Property Value

IReadOnlyDictionary<string, string>

Methods

Describe()

The arm table and allowlist as lines for a person to review.

public IEnumerable<string> Describe()

Returns

IEnumerable<string>

Record(IDictionary<string, string>)

The arm, mod build and allowlist hashes as report provenance.

public void Record(IDictionary<string, string> provenance)

Parameters

provenance IDictionary<string, string>

Verify()

Refuses unless the staged tree is still exactly the allowlist: an extra plugin loads even when the test never calls it, and a changed or removed file is another run. Call it right before the launch.

public void Verify()