2022-02-08 00:42:49 -08:00
|
|
|
using System.Collections.Generic;
|
2022-01-09 22:47:37 -07:00
|
|
|
using Robust.Shared.Analyzers;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
2022-02-19 16:55:29 -07:00
|
|
|
using Robust.Shared.GameStates;
|
2022-01-09 22:47:37 -07:00
|
|
|
|
|
|
|
|
namespace Content.Shared.Follower.Components;
|
|
|
|
|
|
2022-02-19 16:55:29 -07:00
|
|
|
// TODO properly network this and followercomp.
|
2022-01-09 22:47:37 -07:00
|
|
|
/// <summary>
|
|
|
|
|
/// Attached to entities that are currently being followed by a ghost.
|
|
|
|
|
/// </summary>
|
2022-02-08 00:42:49 -08:00
|
|
|
[RegisterComponent, Friend(typeof(FollowerSystem))]
|
2022-02-19 16:55:29 -07:00
|
|
|
[NetworkedComponent]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class FollowedComponent : Component
|
2022-01-09 22:47:37 -07:00
|
|
|
{
|
|
|
|
|
public HashSet<EntityUid> Following = new();
|
|
|
|
|
}
|