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

16 lines
499 B
C#
Raw Normal View History

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, Access(typeof(FollowerSystem))]
2023-04-23 20:01:15 +10:00
[NetworkedComponent, AutoGenerateComponentState]
public sealed partial class FollowedComponent : Component
{
2023-04-23 20:01:15 +10:00
[AutoNetworkedField(true), DataField("following")]
public HashSet<EntityUid> Following = new();
}