Unique name identifiers (#6697)
This commit is contained in:
11
Content.Server/NameIdentifier/NameIdentifierComponent.cs
Normal file
11
Content.Server/NameIdentifier/NameIdentifierComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Content.Shared.NameIdentifier;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.NameIdentifier;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class NameIdentifierComponent : Component
|
||||
{
|
||||
[DataField("group", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<NameIdentifierGroupPrototype>))]
|
||||
public string Group = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user