Skip to content

API reference Obsidian.API.Inventory.DataComponents

ComponentIntValue record struct

A constant or a context int provider key. Evaluation belongs to the consuming gameplay system.

public readonly record struct ComponentIntValue : IEquatable<ComponentIntValue>

In Obsidian.API.

Constructors

ComponentIntValue(int, string)

public ComponentIntValue(int Constant, string Provider = null);

A constant or a context int provider key. Evaluation belongs to the consuming gameplay system.

Properties

public int Constant { get; init; }public string Provider { get; init; }

On this page