Files
crystall-punk-14/Content.Server/Cargo/Components/CargoPalletComponent.cs

27 lines
576 B
C#
Raw Permalink Normal View History

2022-06-23 14:36:47 +10:00
namespace Content.Server.Cargo.Components;
using Content.Shared.Actions;
using Robust.Shared.Serialization.TypeSerializers.Implementations;
2022-06-23 14:36:47 +10:00
/// <summary>
/// Any entities intersecting when a shuttle is recalled will be sold.
/// </summary>
[Flags]
public enum BuySellType : byte
{
Buy = 1 << 0,
Sell = 1 << 1,
All = Buy | Sell
}
2022-06-23 14:36:47 +10:00
[RegisterComponent]
public sealed partial class CargoPalletComponent : Component
{
/// <summary>
/// Whether the pad is a buy pad, a sell pad, or all.
/// </summary>
[DataField]
public BuySellType PalletType;
}