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

ProjectVLoadoutSlotId struct

A loadout slot that holds a character, such as main. Use the values in ProjectVLoadoutSlots. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVLoadoutSlotId : IEquatable<ProjectVLoadoutSlotId>

Constructors​

ProjectVLoadoutSlotId(string value)​

Wraps a loadout slot ID.

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