Files
tbd-station-14/Content.Shared/Inventory/SlotFlags.cs
2022-01-10 15:37:20 +11:00

31 lines
592 B
C#

using System;
using Robust.Shared.Serialization;
namespace Content.Shared.Inventory;
/// <summary>
/// Defines what slot types an item can fit into.
/// </summary>
[Serializable, NetSerializable]
[Flags]
public enum SlotFlags
{
NONE = 0,
PREVENTEQUIP = 1 << 0,
HEAD = 1 << 1,
EYES = 1 << 2,
EARS = 1 << 3,
MASK = 1 << 4,
OUTERCLOTHING = 1 << 5,
INNERCLOTHING = 1 << 6,
NECK = 1 << 7,
BACK = 1 << 8,
BELT = 1 << 9,
GLOVES = 1 << 10,
IDCARD = 1 << 11,
POCKET = 1 << 12,
LEGS = 1 << 13,
FEET = 1 << 14,
All = ~NONE,
}