* StorableComponent refactor * ItemComponent refactor * conflict fixes * removes redundant null check * removes redundant item throwing code * fix conflicts * ExplosionLaunchedComponent Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
22 lines
618 B
C#
22 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 ClothingComponentState : ComponentState
|
|
{
|
|
public string? ClothingEquippedPrefix { get; }
|
|
|
|
public string? EquippedPrefix { get; }
|
|
|
|
public ClothingComponentState(string? clothingEquippedPrefix, string? equippedPrefix) : base(ContentNetIDs.CLOTHING)
|
|
{
|
|
ClothingEquippedPrefix = clothingEquippedPrefix;
|
|
EquippedPrefix = equippedPrefix;
|
|
}
|
|
}
|
|
}
|