Skip to main content

ProjectVItemId struct

The ID of an inventory item, such as ITEM_XP. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVItemId : IEquatable<ProjectVItemId>

Constructors​

ProjectVItemId(string value)​

Wraps an item ID.

public ProjectVItemId(string value);

Parameters

NameTypeDescription
valuestringThe item ID; not empty.

Exceptions

ExceptionWhen
ArgumentExceptionvalue is null, empty or whitespace.

Properties​

PropertyTypeDescription
ValuestringThe item ID as a string.