Class CustomItemAttribute
- Namespace
- Exiled.API.Features.Attributes
- Assembly
- Exiled.API.dll
An attribute to easily manage CustomItem initialization.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class CustomItemAttribute : Attribute, _Attribute
- Inheritance
-
CustomItemAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
CustomItemAttribute(ItemType)
Initializes a new instance of the CustomItemAttribute class.
public CustomItemAttribute(ItemType type)
Parameters
type
ItemTypeThe ItemType to serialize.
Properties
ItemType
Gets the attribute's ItemType.
public ItemType ItemType { get; }
Property Value
- ItemType