Re-organize all projects (#4166)
This commit is contained in:
25
Content.Server/Mind/Components/VisitingMindComponent.cs
Normal file
25
Content.Server/Mind/Components/VisitingMindComponent.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
#nullable enable
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Mind.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class VisitingMindComponent : Component
|
||||
{
|
||||
public override string Name => "VisitingMind";
|
||||
|
||||
[ViewVariables] public Mind Mind { get; set; } = default!;
|
||||
|
||||
public override void OnRemove()
|
||||
{
|
||||
base.OnRemove();
|
||||
|
||||
Mind?.UnVisit();
|
||||
}
|
||||
}
|
||||
|
||||
public class MindUnvisitedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user