Files
crystall-punk-14/Content.Shared/_CP14/ModularCraft/Components/CP14ModularCraftStartpointComponent.cs
Ed 7e6e4709c4 Ed 01 12 2024 rapier (#623)
* Rapier blade

* file restruct

* golden garde

* iron sharp garde

* copper garde
2024-12-02 00:08:23 +03:00

39 lines
1.1 KiB
C#

using Content.Shared._CP14.ModularCraft.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.ModularCraft.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class CP14ModularCraftStartPointComponent : Component
{
/// <summary>
/// Starting free slots
/// </summary>
[DataField]
public List<ProtoId<CP14ModularCraftSlotPrototype>> StartSlots = new();
/// <summary>
/// Current free slots. May vary depending on the modules delivered
/// </summary>
[DataField]
public List<ProtoId<CP14ModularCraftSlotPrototype>> FreeSlots = new();
/// <summary>
/// A list of all installed parts.
/// </summary>
[DataField, AutoNetworkedField]
public List<ProtoId<CP14ModularCraftPartPrototype>> InstalledParts = new();
/// <summary>
/// Spawned on disassembling
/// </summary>
[DataField]
public EntProtoId? StartProtoPart;
/// <summary>
/// Clentside visual layers from installedParts
/// </summary>
public HashSet<string> RevealedLayers = new();
}