This commit is contained in:
committed by
GitHub
parent
c5f7c61041
commit
cecf87997b
@@ -3,12 +3,11 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
|
||||
namespace Content.Shared.Tag
|
||||
{
|
||||
[RegisterComponent, Access(typeof(TagSystem))]
|
||||
[RegisterComponent, Friend(typeof(TagSystem))]
|
||||
public sealed class TagComponent : Component, ISerializationHooks
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]
|
||||
[Access(typeof(TagSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public readonly HashSet<string> Tags = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user