using Content.Shared.DoAfter; using Robust.Shared.Serialization; namespace Content.Shared.Communications; /// /// Only exists in shared to provide API and for access. /// All logic is serverside. /// public abstract class SharedCommsHackerSystem : EntitySystem { /// /// Set the threats prototype to choose from when hacking a comms console. /// public void SetThreats(EntityUid uid, string threats, CommsHackerComponent? comp = null) { if (!Resolve(uid, ref comp)) return; comp.Threats = threats; } } /// /// DoAfter event for comms console terror ability. /// [Serializable, NetSerializable] public sealed partial class TerrorDoAfterEvent : SimpleDoAfterEvent { }