Files
tbd-station-14/Content.Shared/Follower/Components/FollowedComponent.cs
metalgearsloth 9be61bfaa5 Make followed session-specific (#30770)
* Make followed session-specific

* misimport
2024-08-11 12:26:32 +10:00

18 lines
531 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Follower.Components;
// TODO properly network this and followercomp.
/// <summary>
/// Attached to entities that are currently being followed by a ghost.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(FollowerSystem))]
public sealed partial class FollowedComponent : Component
{
public override bool SessionSpecific => true;
[DataField, AutoNetworkedField]
public HashSet<EntityUid> Following = new();
}