2020-12-07 14:52:55 +01:00
|
|
|
using System;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2020-12-07 14:52:55 +01:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.MobState
|
2020-12-07 14:52:55 +01:00
|
|
|
{
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum DamageStateVisuals
|
|
|
|
|
{
|
|
|
|
|
State
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-12-03 16:08:30 +01:00
|
|
|
/// Defines what state an <see cref="Robust.Shared.GameObjects.EntityUid"/> is in.
|
2020-12-07 14:52:55 +01:00
|
|
|
///
|
|
|
|
|
/// 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
|
|
|
|
|
}
|
|
|
|
|
}
|