Move WindowComponent to ECS (#6267)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Alex Evgrashin
2022-01-29 08:21:38 +03:00
committed by GitHub
parent daf918253b
commit 2a68023143
9 changed files with 181 additions and 97 deletions

View File

@@ -0,0 +1,22 @@
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Shared.Damage.Prototypes;
/// <summary>
/// Prototype for examinable damage messages.
/// </summary>
[Prototype("examinableDamage")]
public class ExaminableDamagePrototype : IPrototype
{
[DataField("id", required: true)]
public string ID { get; } = default!;
/// <summary>
/// List of damage messages IDs sorted by severity.
/// First one describes fully intact entity.
/// Last one describes almost destroyed.
/// </summary>
[DataField("messages")]
public string[] Messages = {};
}