29 lines
675 B
C#
29 lines
675 B
C#
|
|
using System;
|
||
|
|
using Robust.Shared.Interfaces.GameObjects;
|
||
|
|
using Robust.Shared.Serialization;
|
||
|
|
|
||
|
|
namespace Content.Shared.GameObjects.Components.Mobs
|
||
|
|
{
|
||
|
|
[Serializable, NetSerializable]
|
||
|
|
public enum DamageStateVisuals
|
||
|
|
{
|
||
|
|
State
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Defines what state an <see cref="IEntity"/> is in.
|
||
|
|
///
|
||
|
|
/// Ordered from most alive to least alive.
|
||
|
|
/// To enumerate them in this way see
|
||
|
|
/// <see cref="DamageStateHelpers.AliveToDead"/>.
|
||
|
|
/// </summary>
|
||
|
|
[Serializable, NetSerializable]
|
||
|
|
public enum DamageState : byte
|
||
|
|
{
|
||
|
|
Invalid = 0,
|
||
|
|
Alive = 1,
|
||
|
|
Critical = 2,
|
||
|
|
Dead = 3
|
||
|
|
}
|
||
|
|
}
|