Skip to main content

ProjectVEquipmentSlotId struct

An equipment slot on a character, such as primary_weapon. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVEquipmentSlotId : IEquatable<ProjectVEquipmentSlotId>

Constructors​

ProjectVEquipmentSlotId(string value)​

Wraps an equipment slot ID.

public ProjectVEquipmentSlotId(string value);

Parameters

NameTypeDescription
valuestringThe slot ID; not empty.

Exceptions

ExceptionWhen
ArgumentExceptionvalue is null, empty or whitespace.

Properties​

PropertyTypeDescription
ValuestringThe slot ID as a string.