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

Class RustItemAsset

Inheritance
System.Object
RustItemAsset
Implements
IItemAsset
Namespace: OpenMod.Rust.Items
Assembly: OpenMod.Rust.dll
Syntax
public class RustItemAsset : object, IItemAsset

Constructors

| Improve this Doc View Source

RustItemAsset(ItemDefinition)

Declaration
public RustItemAsset(ItemDefinition itemDefinition)
Parameters
Type Name Description
ItemDefinition itemDefinition

Properties

| Improve this Doc View Source

ItemAssetId

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

ItemDefinition

Declaration
public ItemDefinition ItemDefinition { get; }
Property Value
Type Description
ItemDefinition
| Improve this Doc View Source

ItemName

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

ItemType

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

MaxAmount

Declaration
public double? MaxAmount { get; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

MaxDurability

Declaration
public double? MaxDurability { get; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

MaxQuality

Declaration
public double? MaxQuality { get; }
Property Value
Type Description
System.Nullable<System.Double>

Implements

IItemAsset

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)