Files
tbd-station-14/Content.Shared/Follower/Components/FollowedComponent.cs
mirrorcult 74457787c2 Follow verb for ghosts (#6016)
* Follow verb for ghosts

* oop

* Use parenting instead

* Update Content.Shared/Follower/FollowerSystem.cs

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

* mfw

* parent fixes

* figs

* oop

* porbis

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-09 23:47:37 -06:00

15 lines
433 B
C#

using System.Collections.Generic;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
namespace Content.Shared.Follower.Components;
/// <summary>
/// Attached to entities that are currently being followed by a ghost.
/// </summary>
[RegisterComponent, ComponentProtoName("Followed"), Friend(typeof(FollowerSystem))]
public class FollowedComponent : Component
{
public HashSet<EntityUid> Following = new();
}