Files
tbd-station-14/Content.Shared/GameObjects/Components/Items/ItemComponentState.cs
2019-04-15 21:11:38 -06:00

23 lines
598 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
using System;
namespace Content.Shared.GameObjects.Components.Items
{
[Serializable, NetSerializable]
public class ItemComponentState : ComponentState
{
public string EquippedPrefix { get; set; }
public ItemComponentState(string equippedPrefix) : base(ContentNetIDs.ITEM)
{
EquippedPrefix = equippedPrefix;
}
protected ItemComponentState(string equippedPrefix, uint netId) : base(netId)
{
EquippedPrefix = equippedPrefix;
}
}
}