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