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

ProjectVBackpackSlotId struct

A slot in the player's backpack, such as slot-1. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVBackpackSlotId : IEquatable<ProjectVBackpackSlotId>

Constructors​

ProjectVBackpackSlotId(string value)​

Wraps a backpack slot ID.

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