Table of Contents

Class PrefabAttribute

Namespace
Exiled.API.Features.Attributes
Assembly
Exiled.API.dll

Represents the base class for custom attributes.

[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class PrefabAttribute : Attribute, _Attribute
Inheritance
PrefabAttribute
Implements
Inherited Members
Extension Methods

Constructors

PrefabAttribute(uint, string)

Initializes a new instance of the PrefabAttribute class.

public PrefabAttribute(uint assetId, string name)

Parameters

assetId uint
name string

Properties

AssetId

Gets the prefab's asset id.

public uint AssetId { get; }

Property Value

uint

Name

Gets the prefab's name.

public string Name { get; }

Property Value

string