15 lines
433 B
C#
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();
|
|||
|
|
}
|