Added enum types (#2701)

This commit is contained in:
ColdAutumnRain
2020-12-04 11:57:33 +01:00
committed by GitHub
parent 216a47dddc
commit 266d2909d7
50 changed files with 52 additions and 51 deletions

View File

@@ -497,7 +497,8 @@ namespace Content.Client.GameObjects.EntitySystems.AI
}
[Flags]
public enum PathfindingDebugMode {
public enum PathfindingDebugMode : byte
{
None = 0,
Route = 1 << 0,
Graph = 1 << 1,

View File

@@ -98,7 +98,7 @@ namespace Content.Client.GameObjects.EntitySystems
}
}
internal enum AtmosDebugOverlayMode
internal enum AtmosDebugOverlayMode : byte
{
TotalMoles,
GasMoles,

View File

@@ -73,7 +73,7 @@ namespace Content.Client.GameObjects.EntitySystems
private readonly List<SpriteComponent> _highlightedSprites = new();
private enum DragState
private enum DragState : byte
{
NotDragging,
// not dragging yet, waiting to see