From b9debaa2737d31e3c52d0ad82d39213101c9a2ce Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Wed, 26 May 2021 10:23:07 +0200 Subject: [PATCH] Marks IExamine as obsolete. --- .../GameObjects/EntitySystems/ExamineSystemShared.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Shared/GameObjects/EntitySystems/ExamineSystemShared.cs b/Content.Shared/GameObjects/EntitySystems/ExamineSystemShared.cs index 7398485c51..96a4b6ebd8 100644 --- a/Content.Shared/GameObjects/EntitySystems/ExamineSystemShared.cs +++ b/Content.Shared/GameObjects/EntitySystems/ExamineSystemShared.cs @@ -1,4 +1,5 @@ #nullable enable +using System; using System.Linq; using Content.Shared.GameObjects.Components.Mobs; using Content.Shared.Interfaces.GameObjects.Components; @@ -14,6 +15,7 @@ using static Content.Shared.GameObjects.EntitySystems.SharedInteractionSystem; namespace Content.Shared.GameObjects.EntitySystems { + [Obsolete("Use ExaminedEvent instead.")] public interface IExamine { /// @@ -210,7 +212,7 @@ namespace Content.Shared.GameObjects.EntitySystems /// /// Raised when an entity is examined. - /// Don't forget to add a newline at the end. + /// You have to manually add a newline at the start, and perform cleanup (popping state) at the end. /// public class ExaminedEvent : EntityEventArgs {