Table of Contents

Class DisposableCharacter

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

A character taken from a DisposableCharacterStore. Only the store creates these; each use re-reads the store and refuses the handle if the registration was removed or the stored copy changed since it was taken.

public sealed class DisposableCharacter
Inheritance
object
DisposableCharacter

Properties

Name

The registered name (the store's file name, not the in-game display name).

public string Name { get; }

Property Value

string

PlayerId

The game's player ID from the save.

public long PlayerId { get; }

Property Value

long

Sha256

SHA256 of the stored copy when this handle was taken.

public string Sha256 { get; }

Property Value

string

Store

public DisposableCharacterStore Store { get; }

Property Value

DisposableCharacterStore