2021-02-04 11:04:19 +01:00
|
|
|
#nullable enable
|
2021-02-08 22:46:28 +01:00
|
|
|
using System;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.NetIDs;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
2021-02-08 22:46:28 +01:00
|
|
|
using Robust.Shared.Serialization;
|
2021-02-04 11:04:19 +01:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Tag
|
2021-02-04 11:04:19 +01:00
|
|
|
{
|
2021-02-08 22:46:28 +01:00
|
|
|
[Serializable, NetSerializable]
|
2021-02-04 11:04:19 +01:00
|
|
|
public class TagComponentState : ComponentState
|
|
|
|
|
{
|
|
|
|
|
public TagComponentState(string[] tags) : base(ContentNetIDs.TAG)
|
|
|
|
|
{
|
|
|
|
|
Tags = tags;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string[] Tags { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|