Files
4a73ff41a38c2b1c0c096b7ab54444389e0e1d1e
17 lines
515 B
C#
17 lines
515 B
C#
namespace Content.Server.Objectives.Components;
|
|||
|
|||
/// <summary>
|
|||
/// Sets a target objective to a specific target when receiving it.
|
|||
/// The objective entity needs to have <see cref="PickSpecificPersonComponent"/>.
|
|||
/// This component needs to be added to entity receiving the objective.
|
|||
/// </summary>
|
|||
[RegisterComponent]
|
|||
public sealed partial class TargetOverrideComponent : Component
|
|||
{
|
|||
/// <summary>
|
|||
/// The entity that should be targeted.
|
|||
/// </summary>
|
|||
[DataField]
|
|||
public EntityUid? Target;
|
|||
}
|