mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Make followed session-specific * misimport (cherry picked from commit 9be61bfaa5a4bee1ca4f3d5e5c40a69d66e4cc2a)
18 lines
531 B
C#
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();
|
|
}
|