Table of Contents

Class HostedCampaignCharacter

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

One registered, disposable local character for one named campaign client.

public sealed class HostedCampaignCharacter
Inheritance
object
HostedCampaignCharacter

Properties

CharactersLocalDirectory

Optional: the client host user's characters_local. Left out, the client host's standard folder for its platform, resolved on that host (Windows %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\characters_local, macOS ~/Library/Application Support/IronGate/Valheim/characters_local).

public string CharactersLocalDirectory { get; set; }

Property Value

string

FileName

Fresh filename without .fch on this host. Two simultaneous clients need different player IDs too.

public string FileName { get; set; }

Property Value

string

RegisteredName

public string RegisteredName { get; set; }

Property Value

string

SteamUserDataDirectory

Optional: the client host's Steam userdata, searched for a same-named Steam Cloud character. Left out, userdata under that host's Steam root (the same rule as this machine's inventory: Windows Steam's registered SteamPath; macOS ~/Library/Application Support/Steam). Set it for Steam in any other folder.

public string SteamUserDataDirectory { get; set; }

Property Value

string

Store

A DisposableCharacterStore created from a test character, never a personal save.

public string Store { get; set; }

Property Value

string