committed by
Pieter-Jan Briers
parent
ba8b495ec0
commit
6e2799f048
@@ -9,14 +9,13 @@ namespace Content.Server.GameObjects.Components.Access
|
||||
public class AccessComponent : Component
|
||||
{
|
||||
public override string Name => "Access";
|
||||
private List<string> _tags;
|
||||
[ViewVariables]
|
||||
public List<string> Tags => _tags;
|
||||
public List<string> Tags;
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
base.ExposeData(serializer);
|
||||
|
||||
serializer.DataField(ref _tags, "tags", new List<string>());
|
||||
serializer.DataField(ref Tags, "tags", new List<string>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user