Files
0da463d2f2e729fdff7b77af9bca2e0f254a8331
28 lines
750 B
C#
28 lines
750 B
C#
using Robust.Shared.GameStates;
|
|||
using Robust.Shared.Prototypes;
|
|||
|
|||
namespace Content.Shared.Roles;
|
|||
|
|||
/// <summary>
|
|||
/// This is most likely not the component you are looking for, almost nothing should be using this.
|
|||
/// Consider using GhostRoleComponent or AntagSelectionComponent instead.
|
|||
///
|
|||
/// The specified mind role will be added to the mob on spawn.
|
|||
///
|
|||
/// </summary>
|
|||
[RegisterComponent, NetworkedComponent]
|
|||
public sealed partial class StartingMindRoleComponent : Component
|
|||
{
|
|||
/// <summary>
|
|||
/// The ID of the mind role to add
|
|||
/// </summary>
|
|||
[DataField(required: true)]
|
|||
public EntProtoId MindRole;
|
|||
|
|||
/// <summary>
|
|||
/// Add the mind role silently
|
|||
/// </summary>
|
|||
[DataField]
|
|||
public bool Silent = true;
|
|||
}
|