OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

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 Source

ItemAssetId

The ID of the asset.

Declaration
string ItemAssetId { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ItemName

The human readable name of the asset.

Declaration
string ItemName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ItemType

The type of the item.

Declaration
string ItemType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)