Files
crystall-punk-14/Content.Server/Clothing/Components/LoadoutComponent.cs

17 lines
598 B
C#
Raw Normal View History

using Content.Shared.Roles;
2022-09-16 10:03:45 -04:00
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Server.Clothing.Components
{
[RegisterComponent]
public sealed class LoadoutComponent : Component
{
2022-09-16 10:03:45 -04:00
/// <summary>
/// A list of starting gears, of which one will be given.
/// All elements are weighted the same in the list.
/// </summary>
[DataField("prototypes", required: true, customTypeSerializer: typeof(PrototypeIdListSerializer<StartingGearPrototype>))]
public List<string>? Prototypes;
}
}