Files
crystall-punk-14/Content.Shared/Follower/Components/FollowedComponent.cs

18 lines
506 B
C#
Raw Normal View History

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