Files
tbd-station-14/Content.Shared/GameObjects/Components/Items/ItemComponentState.cs
2021-03-16 15:50:20 +01:00

24 lines
618 B
C#

#nullable enable
using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
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;
}
}
}