mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
19 lines
466 B
C#
19 lines
466 B
C#
using System;
|
|
|
|
namespace Robust.Shared.Serialization
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
|
public sealed class SerializedTypeAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Name of this type in serialized files.
|
|
/// </summary>
|
|
public string SerializeName { get; }
|
|
|
|
public SerializedTypeAttribute(string serializeName)
|
|
{
|
|
SerializeName = serializeName;
|
|
}
|
|
}
|
|
}
|