mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
19 lines
463 B
C#
19 lines
463 B
C#
using System;
|
|
|
|
namespace Robust.Shared.GameObjects
|
|
{
|
|
/// <summary>
|
|
/// Defines Name that this component is represented with in prototypes.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public sealed class ComponentProtoNameAttribute : Attribute
|
|
{
|
|
public string PrototypeName { get; }
|
|
|
|
public ComponentProtoNameAttribute(string prototypeName)
|
|
{
|
|
PrototypeName = prototypeName;
|
|
}
|
|
}
|
|
}
|