ProjectVGameplayItemId struct
The ID of an item used during gameplay, such as ITEM_RIFLE. Compare with Equals.
Namespace: SilverTiger.ProjectV.Unity.Presentation
public readonly struct ProjectVGameplayItemId : IEquatable<ProjectVGameplayItemId>
Constructors​
ProjectVGameplayItemId(string value)​
Wraps an item ID.
public ProjectVGameplayItemId(string value);
Parameters
| Name | Type | Description |
|---|---|---|
value | string | The item ID; not empty. |
Exceptions
| Exception | When |
|---|---|
ArgumentException | value is null, empty or whitespace. |
Properties​
| Property | Type | Description |
|---|---|---|
Value | string | The item ID as a string. |