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

ProjectVResourceId struct

The ID of a resource the player owns and spends, such as core_dust. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVResourceId : IEquatable<ProjectVResourceId>

Constructors​

ProjectVResourceId(string value)​

Wraps a resource ID.

public ProjectVResourceId(string value);

Parameters

NameTypeDescription
valuestringThe resource ID; not empty.

Exceptions

ExceptionWhen
ArgumentExceptionvalue is null, empty or whitespace.

Properties​

PropertyTypeDescription
ValuestringThe resource ID as a string.