Files
RobustToolbox/Robust.Shared/Serialization/NetSerializableAttribute.cs
2022-02-05 19:31:58 +01:00

17 lines
783 B
C#

using System;
namespace Robust.Shared.Serialization
{
/// <summary>
/// This attribute marks an object as able to be serialized by SS14's NetSerializer. It is required that objects
/// that have this Attribute also have the <see cref="SerializableAttribute"/>. You can use
/// <see cref="NonSerializedAttribute"/> to mark a field as non-serialized. Child classes are also NetSerializable.
/// See the <see href="https://github.com/tomba/netserializer/blob/master/Doc.md">NetSerializer Documentation</see>
/// for more info.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public sealed class NetSerializableAttribute : Attribute
{
}
}