fish-station/Content.Shared/Follower/Components/FollowerComponent.cs
Vigers Ray 53711110c3 Merge remote-tracking branch 'space-wizards/master'
# Conflicts:
#	Content.Server/Chemistry/EntitySystems/HypospraySystem.cs
#	Content.Server/Station/Systems/StationSpawningSystem.cs
#	Content.Shared/Preferences/HumanoidCharacterProfile.cs
#	Resources/Locale/en-US/_strings/administration/commands/announce-command.ftl
#	Resources/Prototypes/Catalog/uplink_catalog.yml
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/ancient.rsi/meta.json
2025-02-12 18:46:28 +03:00

20 lines
722 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Follower.Components;
[RegisterComponent]
[Access(typeof(FollowerSystem))]
[NetworkedComponent, AutoGenerateComponentState(RaiseAfterAutoHandleState = true)]
public sealed partial class FollowerComponent : Component
{
[AutoNetworkedField, DataField("following")]
public EntityUid Following;
[DataField("stopFollowAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string StopFollowAction = "StopFollowAction";
[DataField, AutoNetworkedField]
public EntityUid? StopFollowActionEntity;
}