Table of Contents

Class ObservedPiece

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

A prefab found through a build tool's PieceTable, with the dependencies of its Piece component.

public sealed record ObservedPiece
Inheritance
object
ObservedPiece

Constructors

ObservedPiece(string, int, string, string, int, string?, bool, bool, ObservedReference, IReadOnlyList<ObservedReference>)

A prefab found through a build tool's PieceTable, with the dependencies of its Piece component.

public ObservedPiece(string Name, int Hash, string Tool, string Table, int Listed, string? Resolves, bool HasComponent, bool Enabled, ObservedReference Station, IReadOnlyList<ObservedReference> Resources)

Parameters

Name string
Hash int
Tool string
Table string
Listed int
Resolves string
HasComponent bool
Enabled bool
Station ObservedReference
Resources IReadOnlyList<ObservedReference>

Properties

Enabled

public bool Enabled { get; init; }

Property Value

bool

HasComponent

public bool HasComponent { get; init; }

Property Value

bool

Hash

public int Hash { get; init; }

Property Value

int

Listed

public int Listed { get; init; }

Property Value

int

Name

public string Name { get; init; }

Property Value

string

Resolves

public string? Resolves { get; init; }

Property Value

string

Resources

public IReadOnlyList<ObservedReference> Resources { get; init; }

Property Value

IReadOnlyList<ObservedReference>

Station

public ObservedReference Station { get; init; }

Property Value

ObservedReference

Table

public string Table { get; init; }

Property Value

string

Tool

public string Tool { get; init; }

Property Value

string