mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Mark ValidatePrototypeIdAttribute as obsolete (#6062)
This commit is contained in:
@@ -8,6 +8,7 @@ namespace Robust.Shared.Serialization.Manager.Attributes;
|
||||
/// valid YAML prototype ids. This attribute is not required for static <see cref="ProtoId{T}"/> and
|
||||
/// <see cref="EntProtoId"/> fields, as they automatically get validated.
|
||||
/// </summary>
|
||||
[Obsolete("Use a static readonly ProtoId<T> instead")]
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class ValidatePrototypeIdAttribute<T> : Attribute where T : IPrototype
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user