Chuyển tới nội dung chính

ProjectVGameplayItemId struct

The ID of an item used during gameplay, such as ITEM_RIFLE. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVGameplayItemId : IEquatable<ProjectVGameplayItemId>

Constructors​

ProjectVGameplayItemId(string value)​

Wraps an item ID.

public ProjectVGameplayItemId(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.