Interface IItemAsset
Represents an item asset.
Namespace: OpenMod.Extensions.Games.Abstractions.Items
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IItemAsset
Properties
| Improve this Doc View SourceItemAssetId
The ID of the asset.
Declaration
string ItemAssetId { get; }
Property Value
Type | Description |
---|---|
System.String |
ItemName
The human readable name of the asset.
Declaration
string ItemName { get; }
Property Value
Type | Description |
---|---|
System.String |
ItemType
The type of the item.
Declaration
string ItemType { get; }
Property Value
Type | Description |
---|---|
System.String |
MaxAmount
The maximum quality of the item. null
if item doesn't support amounts.
Declaration
double? MaxAmount { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MaxDurability
The maximum durability of the item. null
if item doesn't support durabilities.
Declaration
double? MaxDurability { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MaxQuality
The maximum quality of the item. null
if item doesn't support qualities.
Declaration
double? MaxQuality { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |