Refactor minds to be entities with components, make roles components (#19591)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
11
Content.Server/Ghost/Roles/GhostRoleMarkerRoleComponent.cs
Normal file
11
Content.Server/Ghost/Roles/GhostRoleMarkerRoleComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Content.Server.Ghost.Roles;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for round end display of ghost roles.
|
||||
/// It may also be used to ensure some ghost roles count as antagonists in future.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class GhostRoleMarkerRoleComponent : Component
|
||||
{
|
||||
[DataField("name")] public string? Name;
|
||||
}
|
||||
Reference in New Issue
Block a user