using System;
namespace Robust.Shared.GameObjects
{
///
/// Marks a component as having a specific reference type,
/// for use with .
///
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class ComponentReferenceAttribute : Attribute
{
///
/// The type this component is a reference to.
///
public Type ReferenceType { get; }
///
/// Default constructor.
///
/// The type this component is a reference to.
public ComponentReferenceAttribute(Type referenceType)
{
ReferenceType = referenceType;
}
}
}