18 lines
507 B
C#
18 lines
507 B
C#
using Content.Server.Objectives.Systems;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// An objective that is set to complete by code in another system.
|
|
/// Use <see cref="CodeConditionSystem"/> to check and set this.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CodeConditionSystem))]
|
|
public sealed partial class CodeConditionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether the objective is complete or not.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Completed;
|
|
}
|