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

ProjectVHeaderViewKey struct

A currency slot in the screen header, such as header.gold. Use the values in ProjectVHeaderViewKeys. Compare with Equals.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public readonly struct ProjectVHeaderViewKey : IEquatable<ProjectVHeaderViewKey>

Constructors​

ProjectVHeaderViewKey(string value)​

Wraps a header slot key.

public ProjectVHeaderViewKey(string value);

Parameters

NameTypeDescription
valuestringThe slot key; not empty.

Exceptions

ExceptionWhen
ArgumentExceptionvalue is null, empty or whitespace.

Properties​

PropertyTypeDescription
ValuestringThe slot key as a string.