mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
19 lines
405 B
C#
19 lines
405 B
C#
namespace Content.Server.Mind.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class VisitingMindComponent : Component
|
|
{
|
|
[ViewVariables] public Mind Mind { get; set; } = default!;
|
|
|
|
protected override void OnRemove()
|
|
{
|
|
base.OnRemove();
|
|
|
|
Mind?.UnVisit();
|
|
}
|
|
}
|
|
|
|
public sealed class MindUnvisitedMessage : EntityEventArgs
|
|
{
|
|
}
|
|
}
|