Files
tbd-station-14/Content.Shared/GameObjects/DrawDepth.cs
DrSmugleaf 4a8ed41e3a Fix namespaces and optimize imports (#1651)
* Fix namespaces and optimize imports

* Cleanup fixes

* Merge conflict fixes

* Merge conflict fixes

* Merge conflict fixes
2020-08-13 14:40:27 +02:00

29 lines
980 B
C#

using Robust.Shared.Serialization;
using DrawDepthTag = Robust.Shared.GameObjects.DrawDepth;
namespace Content.Shared.GameObjects
{
[ConstantsFor(typeof(DrawDepthTag))]
public enum DrawDepth
{
LowFloors = DrawDepthTag.Default - 7,
/// <summary>
/// Things that are beneath regular floors, such as wires.
/// </summary>
BelowFloor = DrawDepthTag.Default - 6,
FloorTiles = DrawDepthTag.Default - 5,
/// <summary>
/// Things that are actually right on the floor, like vents.
/// </summary>
FloorObjects = DrawDepthTag.Default - 4,
Walls = DrawDepthTag.Default - 3,
WallTops = DrawDepthTag.Default - 2,
WallMountedItems = DrawDepthTag.Default - 1,
Objects = DrawDepthTag.Default,
Items = DrawDepthTag.Default + 1,
Mobs = DrawDepthTag.Default + 2,
Ghosts = DrawDepthTag.Default + 3,
Overlays = DrawDepthTag.Default + 4,
}
}