Table of Contents

Class ObservedReference

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

A recipe's item, station or resource: its prefab name (null for no reference) and the game's lookup of it.

public sealed record ObservedReference
Inheritance
object
ObservedReference

Constructors

ObservedReference(string?, string, int)

A recipe's item, station or resource: its prefab name (null for no reference) and the game's lookup of it.

public ObservedReference(string? Name, string Lookup, int Amount = 0)

Parameters

Name string
Lookup string
Amount int

Properties

Amount

public int Amount { get; init; }

Property Value

int

Lookup

public string Lookup { get; init; }

Property Value

string

Name

public string? Name { get; init; }

Property Value

string