Objectives ecs rework (#19967)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using Content.Shared.GameTicking;
|
||||
using Content.Shared.Mind.Components;
|
||||
using Content.Shared.Objectives;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Players;
|
||||
|
||||
@@ -22,7 +21,7 @@ namespace Content.Shared.Mind
|
||||
[RegisterComponent]
|
||||
public sealed partial class MindComponent : Component
|
||||
{
|
||||
internal readonly List<Objective> Objectives = new();
|
||||
internal readonly List<EntityUid> Objectives = new();
|
||||
|
||||
/// <summary>
|
||||
/// The session ID of the player owning this mind.
|
||||
@@ -78,10 +77,10 @@ namespace Content.Shared.Mind
|
||||
|
||||
// TODO move objectives out of mind component
|
||||
/// <summary>
|
||||
/// An enumerable over all the objectives this mind has.
|
||||
/// An enumerable over all the objective entities this mind has.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public IEnumerable<Objective> AllObjectives => Objectives;
|
||||
public IEnumerable<EntityUid> AllObjectives => Objectives;
|
||||
|
||||
/// <summary>
|
||||
/// Prevents user from ghosting out
|
||||
|
||||
Reference in New Issue
Block a user