Class ObservedReference
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
-
objectObservedReference
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
NamestringLookupstringAmountint
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