Table of Contents

Class CliCapabilities

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

Checks, right after a client answers, that its ValheimCLI offers the capabilities a run will use, and says which build is missing: an older ValheimCLI may answer cli_expect but lack cli_extensions or the required built-in command. Read-only: one cli_extensions call through the strictly pinned actor.

public static class CliCapabilities
Inheritance
object
CliCapabilities

Fields

HostedRounds

What ClientRounds uses on the host: its session state, a confirmed save and the leave to its menu.

public static readonly IReadOnlyList<string> HostedRounds

Field Value

IReadOnlyList<string>

TeleportSignals

The default plugin's manifest-visible contract for the bounded teleport commands used by signal arrival.

public const string TeleportSignals = "valheim.session/teleport-signals"

Field Value

string

Toolkit

Every schema-1 built-in command supplied by ValheimCLI that this toolkit calls directly. A release checks the pinned plugin bundle against this list, including optional observation paths, before recording its transport contract. Mod adapters supply their own capabilities and are checked when a scenario runs.

public static readonly IReadOnlyList<string> Toolkit

Field Value

IReadOnlyList<string>

Methods

Require(GameActor, IEnumerable<string>)

Refuses unless every one of paths (owner/command) is a live command of a schema-1 result, naming every missing one and the default plugin that provides it.

public static void Require(GameActor actor, IEnumerable<string> paths)

Parameters

actor GameActor
paths IEnumerable<string>

Require(GameActor, params string[])

Refuses unless every one of paths (owner/command) is a live command of a schema-1 result, naming every missing one and the default plugin that provides it.

public static void Require(GameActor actor, params string[] paths)

Parameters

actor GameActor
paths string[]