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

ProjectVEquipmentId struct

The ID of a piece of equipment, such as rifle. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVEquipmentId : IEquatable<ProjectVEquipmentId>

Constructors​

ProjectVEquipmentId(string value)​

Wraps an equipment ID.

public ProjectVEquipmentId(string value);

Parameters

NameTypeDescription
valuestringThe equipment ID; not empty.

Exceptions

ExceptionWhen
ArgumentExceptionvalue is null, empty or whitespace.

Properties​

PropertyTypeDescription
ValuestringThe equipment ID as a string.