2019-09-01 22:57:22 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.Components.Access
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public class AccessComponent : Component
|
|
|
|
|
{
|
|
|
|
|
public override string Name => "Access";
|
|
|
|
|
[ViewVariables]
|
2019-09-06 08:12:44 +02:00
|
|
|
public List<string> Tags;
|
2019-09-01 22:57:22 +02:00
|
|
|
public override void ExposeData(ObjectSerializer serializer)
|
|
|
|
|
{
|
|
|
|
|
base.ExposeData(serializer);
|
|
|
|
|
|
2019-09-06 08:12:44 +02:00
|
|
|
serializer.DataField(ref Tags, "tags", new List<string>());
|
2019-09-01 22:57:22 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|