mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 19:01:13 +03:00
22 lines
598 B
C#
22 lines
598 B
C#
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;
|
|
}
|
|
}
|
|
}
|