Fix 38 non-obsolete warnings (#33794)
This commit is contained in:
@@ -30,7 +30,9 @@ public sealed class DoAfterSystem : SharedDoAfterSystem
|
|||||||
_overlay.RemoveOverlay<DoAfterOverlay>();
|
_overlay.RemoveOverlay<DoAfterOverlay>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning disable RA0028 // No base call in overriden function
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
|
#pragma warning restore RA0028 // No base call in overriden function
|
||||||
{
|
{
|
||||||
// Currently this only predicts do afters initiated by the player.
|
// Currently this only predicts do afters initiated by the player.
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ namespace Content.Client.GameTicking.Managers
|
|||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
base.Initialize();
|
||||||
|
|
||||||
SubscribeNetworkEvent<TickerJoinLobbyEvent>(JoinLobby);
|
SubscribeNetworkEvent<TickerJoinLobbyEvent>(JoinLobby);
|
||||||
SubscribeNetworkEvent<TickerJoinGameEvent>(JoinGame);
|
SubscribeNetworkEvent<TickerJoinGameEvent>(JoinGame);
|
||||||
SubscribeNetworkEvent<TickerConnectionStatusEvent>(ConnectionStatus);
|
SubscribeNetworkEvent<TickerConnectionStatusEvent>(ConnectionStatus);
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ using Content.Shared.ActionBlocker;
|
|||||||
using Content.Shared.Instruments.UI;
|
using Content.Shared.Instruments.UI;
|
||||||
using Content.Shared.Interaction;
|
using Content.Shared.Interaction;
|
||||||
using Robust.Client.Audio.Midi;
|
using Robust.Client.Audio.Midi;
|
||||||
using Robust.Client.GameObjects;
|
|
||||||
using Robust.Client.Player;
|
using Robust.Client.Player;
|
||||||
using Robust.Client.UserInterface;
|
using Robust.Client.UserInterface;
|
||||||
|
|
||||||
@@ -13,7 +12,6 @@ namespace Content.Client.Instruments.UI
|
|||||||
public IEntityManager Entities => EntMan;
|
public IEntityManager Entities => EntMan;
|
||||||
[Dependency] public readonly IMidiManager MidiManager = default!;
|
[Dependency] public readonly IMidiManager MidiManager = default!;
|
||||||
[Dependency] public readonly IFileDialogManager FileDialogManager = default!;
|
[Dependency] public readonly IFileDialogManager FileDialogManager = default!;
|
||||||
[Dependency] public readonly IPlayerManager PlayerManager = default!;
|
|
||||||
[Dependency] public readonly ILocalizationManager Loc = default!;
|
[Dependency] public readonly ILocalizationManager Loc = default!;
|
||||||
|
|
||||||
public readonly InstrumentSystem Instruments;
|
public readonly InstrumentSystem Instruments;
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ public sealed class LobbyUIController : UIController, IOnStateEntered<LobbyState
|
|||||||
[UISystemDependency] private readonly ClientInventorySystem _inventory = default!;
|
[UISystemDependency] private readonly ClientInventorySystem _inventory = default!;
|
||||||
[UISystemDependency] private readonly StationSpawningSystem _spawn = default!;
|
[UISystemDependency] private readonly StationSpawningSystem _spawn = default!;
|
||||||
[UISystemDependency] private readonly GuidebookSystem _guide = default!;
|
[UISystemDependency] private readonly GuidebookSystem _guide = default!;
|
||||||
[UISystemDependency] private readonly LoadoutSystem _loadouts = default!;
|
|
||||||
|
|
||||||
private CharacterSetupGui? _characterSetup;
|
private CharacterSetupGui? _characterSetup;
|
||||||
private HumanoidProfileEditor? _profileEditor;
|
private HumanoidProfileEditor? _profileEditor;
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ namespace Content.Client.Pinpointer.UI;
|
|||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class StationMapBeaconControl : Control, IComparable<StationMapBeaconControl>
|
public sealed partial class StationMapBeaconControl : Control, IComparable<StationMapBeaconControl>
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
|
||||||
|
|
||||||
public readonly EntityCoordinates BeaconPosition;
|
public readonly EntityCoordinates BeaconPosition;
|
||||||
public Action<EntityCoordinates>? OnPressed;
|
public Action<EntityCoordinates>? OnPressed;
|
||||||
public string? Label => BeaconNameLabel.Text;
|
public string? Label => BeaconNameLabel.Text;
|
||||||
|
|||||||
@@ -4,14 +4,18 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Power.Visualizers;
|
namespace Content.Client.Power.Visualizers;
|
||||||
|
|
||||||
public sealed class CableVisualizerSystem : VisualizerSystem<CableVisualizerComponent>
|
public sealed class CableVisualizerSystem : EntitySystem
|
||||||
{
|
{
|
||||||
|
[Dependency] private readonly AppearanceSystem _appearanceSystem = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
base.Initialize();
|
||||||
|
|
||||||
SubscribeLocalEvent<CableVisualizerComponent, AppearanceChangeEvent>(OnAppearanceChange, after: new[] { typeof(SubFloorHideSystem) });
|
SubscribeLocalEvent<CableVisualizerComponent, AppearanceChangeEvent>(OnAppearanceChange, after: new[] { typeof(SubFloorHideSystem) });
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnAppearanceChange(EntityUid uid, CableVisualizerComponent component, ref AppearanceChangeEvent args)
|
private void OnAppearanceChange(EntityUid uid, CableVisualizerComponent component, ref AppearanceChangeEvent args)
|
||||||
{
|
{
|
||||||
if (args.Sprite == null)
|
if (args.Sprite == null)
|
||||||
return;
|
return;
|
||||||
@@ -23,7 +27,7 @@ public sealed class CableVisualizerSystem : VisualizerSystem<CableVisualizerComp
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!AppearanceSystem.TryGetData<WireVisDirFlags>(uid, WireVisVisuals.ConnectedMask, out var mask, args.Component))
|
if (!_appearanceSystem.TryGetData<WireVisDirFlags>(uid, WireVisVisuals.ConnectedMask, out var mask, args.Component))
|
||||||
mask = WireVisDirFlags.None;
|
mask = WireVisDirFlags.None;
|
||||||
|
|
||||||
args.Sprite.LayerSetState(0, $"{component.StatePrefix}{(int) mask}");
|
args.Sprite.LayerSetState(0, $"{component.StatePrefix}{(int) mask}");
|
||||||
|
|||||||
@@ -1,24 +1,14 @@
|
|||||||
using System.Text;
|
|
||||||
using Content.Shared.Shuttles.BUIStates;
|
using Content.Shared.Shuttles.BUIStates;
|
||||||
using Content.Shared.Shuttles.Systems;
|
|
||||||
using JetBrains.Annotations;
|
|
||||||
using Robust.Client.AutoGenerated;
|
using Robust.Client.AutoGenerated;
|
||||||
using Robust.Client.Graphics;
|
using Robust.Client.Graphics;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
using Robust.Client.UserInterface.XAML;
|
using Robust.Client.UserInterface.XAML;
|
||||||
using Robust.Shared.Map;
|
|
||||||
|
|
||||||
namespace Content.Client.Shuttles.UI;
|
namespace Content.Client.Shuttles.UI;
|
||||||
|
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class DockObject : PanelContainer
|
public sealed partial class DockObject : PanelContainer
|
||||||
{
|
{
|
||||||
[PublicAPI]
|
|
||||||
public event Action? UndockPressed;
|
|
||||||
|
|
||||||
[PublicAPI]
|
|
||||||
public event Action? ViewPressed;
|
|
||||||
|
|
||||||
public BoxContainer ContentsContainer => Contents;
|
public BoxContainer ContentsContainer => Contents;
|
||||||
|
|
||||||
public DockObject()
|
public DockObject()
|
||||||
|
|||||||
@@ -163,16 +163,6 @@ public sealed partial class DockingScreen : BoxContainer
|
|||||||
}
|
}
|
||||||
|
|
||||||
dockContainer.AddDock(dock, DockingControl);
|
dockContainer.AddDock(dock, DockingControl);
|
||||||
|
|
||||||
dockContainer.ViewPressed += () =>
|
|
||||||
{
|
|
||||||
OnDockPress(dock);
|
|
||||||
};
|
|
||||||
|
|
||||||
dockContainer.UndockPressed += () =>
|
|
||||||
{
|
|
||||||
UndockRequest?.Invoke(dock.Entity);
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ using System.Numerics;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Content.Client.Administration.Managers;
|
using Content.Client.Administration.Managers;
|
||||||
using Content.Shared.Database;
|
|
||||||
using Content.Shared.Verbs;
|
using Content.Shared.Verbs;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Graphics;
|
using Robust.Client.Graphics;
|
||||||
using Robust.Client.UserInterface;
|
using Robust.Client.UserInterface;
|
||||||
using Robust.Shared.ContentPack;
|
using Robust.Shared.ContentPack;
|
||||||
|
using Robust.Shared.Exceptions;
|
||||||
using Robust.Shared.Timing;
|
using Robust.Shared.Timing;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
using SixLabors.ImageSharp;
|
using SixLabors.ImageSharp;
|
||||||
@@ -24,6 +24,7 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
[Dependency] private readonly IGameTiming _timing = default!;
|
[Dependency] private readonly IGameTiming _timing = default!;
|
||||||
[Dependency] private readonly IResourceManager _resManager = default!;
|
[Dependency] private readonly IResourceManager _resManager = default!;
|
||||||
[Dependency] private readonly IUserInterfaceManager _ui = default!;
|
[Dependency] private readonly IUserInterfaceManager _ui = default!;
|
||||||
|
[Dependency] private readonly IRuntimeLog _runtimeLog = default!;
|
||||||
|
|
||||||
private ContentSpriteControl _control = new();
|
private ContentSpriteControl _control = new();
|
||||||
|
|
||||||
@@ -42,12 +43,12 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
base.Shutdown();
|
base.Shutdown();
|
||||||
|
|
||||||
foreach (var queued in _control._queuedTextures)
|
foreach (var queued in _control.QueuedTextures)
|
||||||
{
|
{
|
||||||
queued.Tcs.SetCanceled();
|
queued.Tcs.SetCanceled();
|
||||||
}
|
}
|
||||||
|
|
||||||
_control._queuedTextures.Clear();
|
_control.QueuedTextures.Clear();
|
||||||
|
|
||||||
_ui.RootControl.RemoveChild(_control);
|
_ui.RootControl.RemoveChild(_control);
|
||||||
}
|
}
|
||||||
@@ -103,7 +104,7 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
var texture = _clyde.CreateRenderTarget(new Vector2i(size.X, size.Y), new RenderTargetFormatParameters(RenderTargetColorFormat.Rgba8Srgb), name: "export");
|
var texture = _clyde.CreateRenderTarget(new Vector2i(size.X, size.Y), new RenderTargetFormatParameters(RenderTargetColorFormat.Rgba8Srgb), name: "export");
|
||||||
var tcs = new TaskCompletionSource(cancelToken);
|
var tcs = new TaskCompletionSource(cancelToken);
|
||||||
|
|
||||||
_control._queuedTextures.Enqueue((texture, direction, entity, includeId, tcs));
|
_control.QueuedTextures.Enqueue((texture, direction, entity, includeId, tcs));
|
||||||
|
|
||||||
await tcs.Task;
|
await tcs.Task;
|
||||||
}
|
}
|
||||||
@@ -113,13 +114,21 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
if (!_adminManager.IsAdmin())
|
if (!_adminManager.IsAdmin())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
var target = ev.Target;
|
||||||
Verb verb = new()
|
Verb verb = new()
|
||||||
{
|
{
|
||||||
Text = Loc.GetString("export-entity-verb-get-data-text"),
|
Text = Loc.GetString("export-entity-verb-get-data-text"),
|
||||||
Category = VerbCategory.Debug,
|
Category = VerbCategory.Debug,
|
||||||
Act = () =>
|
Act = async () =>
|
||||||
{
|
{
|
||||||
Export(ev.Target);
|
try
|
||||||
|
{
|
||||||
|
await Export(target);
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
_runtimeLog.LogException(e, $"{nameof(ContentSpriteSystem)}.{nameof(Export)}");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -141,7 +150,7 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
Direction Direction,
|
Direction Direction,
|
||||||
EntityUid Entity,
|
EntityUid Entity,
|
||||||
bool IncludeId,
|
bool IncludeId,
|
||||||
TaskCompletionSource Tcs)> _queuedTextures = new();
|
TaskCompletionSource Tcs)> QueuedTextures = new();
|
||||||
|
|
||||||
private ISawmill _sawmill;
|
private ISawmill _sawmill;
|
||||||
|
|
||||||
@@ -155,7 +164,7 @@ public sealed class ContentSpriteSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
base.Draw(handle);
|
base.Draw(handle);
|
||||||
|
|
||||||
while (_queuedTextures.TryDequeue(out var queued))
|
while (QueuedTextures.TryDequeue(out var queued))
|
||||||
{
|
{
|
||||||
if (queued.Tcs.Task.IsCanceled)
|
if (queued.Tcs.Task.IsCanceled)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ using Robust.Client.ResourceManagement;
|
|||||||
using Robust.Client.UserInterface;
|
using Robust.Client.UserInterface;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
using Robust.Client.UserInterface.XAML;
|
using Robust.Client.UserInterface.XAML;
|
||||||
using Robust.Shared.Graphics;
|
|
||||||
using Robust.Shared.Timing;
|
using Robust.Shared.Timing;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
|
|
||||||
@@ -96,7 +95,6 @@ public sealed partial class FancyTree : Control
|
|||||||
private void LoadIcons()
|
private void LoadIcons()
|
||||||
{
|
{
|
||||||
IconColor = TryGetStyleProperty(StylePropertyIconColor, out Color color) ? color : Color.White;
|
IconColor = TryGetStyleProperty(StylePropertyIconColor, out Color color) ? color : Color.White;
|
||||||
string? path;
|
|
||||||
|
|
||||||
if (!TryGetStyleProperty(StylePropertyIconExpanded, out IconExpanded))
|
if (!TryGetStyleProperty(StylePropertyIconExpanded, out IconExpanded))
|
||||||
IconExpanded = _resCache.GetTexture(DefaultIconExpanded);
|
IconExpanded = _resCache.GetTexture(DefaultIconExpanded);
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
using Content.Client.Ghost;
|
|
||||||
using Content.Shared.Voting;
|
using Content.Shared.Voting;
|
||||||
|
|
||||||
namespace Content.Client.Voting;
|
namespace Content.Client.Voting;
|
||||||
|
|
||||||
public sealed class VotingSystem : EntitySystem
|
public sealed class VotingSystem : EntitySystem
|
||||||
{
|
{
|
||||||
|
|
||||||
public event Action<VotePlayerListResponseEvent>? VotePlayerListResponse; //Provides a list of players elligble for vote actions
|
public event Action<VotePlayerListResponseEvent>? VotePlayerListResponse; //Provides a list of players elligble for vote actions
|
||||||
|
|
||||||
[Dependency] private readonly GhostSystem _ghostSystem = default!;
|
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ using Content.Server.Chat.Managers;
|
|||||||
using Content.Server.Jittering;
|
using Content.Server.Jittering;
|
||||||
using Content.Server.Mind;
|
using Content.Server.Mind;
|
||||||
using Content.Server.Stunnable;
|
using Content.Server.Stunnable;
|
||||||
using Content.Shared.Actions;
|
|
||||||
using Content.Shared.Anomaly;
|
using Content.Shared.Anomaly;
|
||||||
using Content.Shared.Anomaly.Components;
|
using Content.Shared.Anomaly.Components;
|
||||||
using Content.Shared.Anomaly.Effects;
|
using Content.Shared.Anomaly.Effects;
|
||||||
@@ -24,8 +23,6 @@ public sealed class InnerBodyAnomalySystem : SharedInnerBodyAnomalySystem
|
|||||||
{
|
{
|
||||||
[Dependency] private readonly IAdminLogManager _adminLog = default!;
|
[Dependency] private readonly IAdminLogManager _adminLog = default!;
|
||||||
[Dependency] private readonly AnomalySystem _anomaly = default!;
|
[Dependency] private readonly AnomalySystem _anomaly = default!;
|
||||||
[Dependency] private readonly ActionContainerSystem _actionContainer = default!;
|
|
||||||
[Dependency] private readonly SharedActionsSystem _actions = default!;
|
|
||||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||||
[Dependency] private readonly BodySystem _body = default!;
|
[Dependency] private readonly BodySystem _body = default!;
|
||||||
[Dependency] private readonly IChatManager _chat = default!;
|
[Dependency] private readonly IChatManager _chat = default!;
|
||||||
|
|||||||
@@ -10,10 +10,8 @@ using Content.Shared.Atmos.Monitor;
|
|||||||
using Content.Shared.Atmos.Monitor.Components;
|
using Content.Shared.Atmos.Monitor.Components;
|
||||||
using Content.Shared.DeviceNetwork.Components;
|
using Content.Shared.DeviceNetwork.Components;
|
||||||
using Content.Shared.Pinpointer;
|
using Content.Shared.Pinpointer;
|
||||||
using Content.Shared.Tag;
|
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
using Robust.Shared.Map.Components;
|
using Robust.Shared.Map.Components;
|
||||||
using Robust.Shared.Timing;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
@@ -25,11 +23,9 @@ public sealed class AtmosAlertsComputerSystem : SharedAtmosAlertsComputerSystem
|
|||||||
[Dependency] private readonly AirAlarmSystem _airAlarmSystem = default!;
|
[Dependency] private readonly AirAlarmSystem _airAlarmSystem = default!;
|
||||||
[Dependency] private readonly AtmosDeviceNetworkSystem _atmosDevNet = default!;
|
[Dependency] private readonly AtmosDeviceNetworkSystem _atmosDevNet = default!;
|
||||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||||
[Dependency] private readonly TagSystem _tagSystem = default!;
|
|
||||||
[Dependency] private readonly MapSystem _mapSystem = default!;
|
[Dependency] private readonly MapSystem _mapSystem = default!;
|
||||||
[Dependency] private readonly TransformSystem _transformSystem = default!;
|
[Dependency] private readonly TransformSystem _transformSystem = default!;
|
||||||
[Dependency] private readonly NavMapSystem _navMapSystem = default!;
|
[Dependency] private readonly NavMapSystem _navMapSystem = default!;
|
||||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
|
||||||
[Dependency] private readonly DeviceListSystem _deviceListSystem = default!;
|
[Dependency] private readonly DeviceListSystem _deviceListSystem = default!;
|
||||||
|
|
||||||
private const float UpdateTime = 1.0f;
|
private const float UpdateTime = 1.0f;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ using Content.Shared.Random;
|
|||||||
using Content.Shared.Random.Helpers;
|
using Content.Shared.Random.Helpers;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
using Robust.Shared.Map;
|
using Robust.Shared.Map;
|
||||||
using Robust.Shared.Physics.Systems;
|
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
using Robust.Shared.Random;
|
using Robust.Shared.Random;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
@@ -25,10 +24,8 @@ public sealed partial class BotanySystem : EntitySystem
|
|||||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||||
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
||||||
[Dependency] private readonly SharedPointLightSystem _light = default!;
|
|
||||||
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
||||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||||
[Dependency] private readonly FixtureSystem _fixtureSystem = default!;
|
|
||||||
[Dependency] private readonly RandomHelperSystem _randomHelper = default!;
|
[Dependency] private readonly RandomHelperSystem _randomHelper = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
|
|||||||
@@ -12,10 +12,7 @@ using Content.Shared.Interaction.Events;
|
|||||||
using Content.Shared.Mobs.Components;
|
using Content.Shared.Mobs.Components;
|
||||||
using Content.Shared.Timing;
|
using Content.Shared.Timing;
|
||||||
using Content.Shared.Weapons.Melee.Events;
|
using Content.Shared.Weapons.Melee.Events;
|
||||||
using Content.Server.Interaction;
|
|
||||||
using Content.Server.Body.Components;
|
using Content.Server.Body.Components;
|
||||||
using Robust.Shared.GameStates;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Robust.Server.Audio;
|
using Robust.Server.Audio;
|
||||||
|
|
||||||
@@ -24,7 +21,6 @@ namespace Content.Server.Chemistry.EntitySystems;
|
|||||||
public sealed class HypospraySystem : SharedHypospraySystem
|
public sealed class HypospraySystem : SharedHypospraySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly AudioSystem _audio = default!;
|
[Dependency] private readonly AudioSystem _audio = default!;
|
||||||
[Dependency] private readonly InteractionSystem _interaction = default!;
|
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,6 @@
|
|||||||
using Content.Server.Body.Components;
|
|
||||||
using Content.Server.Body.Systems;
|
|
||||||
using Content.Server.Chemistry.Components;
|
using Content.Server.Chemistry.Components;
|
||||||
using Content.Shared.Chemistry.EntitySystems;
|
|
||||||
using Content.Shared.Chemistry.Events;
|
using Content.Shared.Chemistry.Events;
|
||||||
using Content.Shared.Inventory;
|
|
||||||
using Content.Shared.Popups;
|
|
||||||
using Content.Shared.Projectiles;
|
using Content.Shared.Projectiles;
|
||||||
using Content.Shared.Tag;
|
|
||||||
using Content.Shared.Weapons.Melee.Events;
|
|
||||||
using Robust.Shared.Collections;
|
|
||||||
using Robust.Shared.Timing;
|
using Robust.Shared.Timing;
|
||||||
|
|
||||||
namespace Content.Server.Chemistry.EntitySystems;
|
namespace Content.Server.Chemistry.EntitySystems;
|
||||||
@@ -19,11 +11,6 @@ namespace Content.Server.Chemistry.EntitySystems;
|
|||||||
public sealed class SolutionInjectWhileEmbeddedSystem : EntitySystem
|
public sealed class SolutionInjectWhileEmbeddedSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||||
[Dependency] private readonly BloodstreamSystem _bloodstream = default!;
|
|
||||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
|
||||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
|
||||||
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainer = default!;
|
|
||||||
[Dependency] private readonly TagSystem _tag = default!;
|
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
using Content.Server.GameTicking;
|
using Content.Server.GameTicking;
|
||||||
using Content.Server.Voting;
|
using Content.Server.Voting;
|
||||||
using Robust.Server;
|
using Robust.Server;
|
||||||
using Robust.Shared.Configuration;
|
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Nodes;
|
using System.Text.Json.Nodes;
|
||||||
|
|
||||||
@@ -11,7 +9,6 @@ namespace Content.Server.Discord.WebhookMessages;
|
|||||||
|
|
||||||
public sealed class VoteWebhooks : IPostInjectInit
|
public sealed class VoteWebhooks : IPostInjectInit
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
|
||||||
[Dependency] private readonly IEntitySystemManager _entSys = default!;
|
[Dependency] private readonly IEntitySystemManager _entSys = default!;
|
||||||
[Dependency] private readonly DiscordWebhook _discord = default!;
|
[Dependency] private readonly DiscordWebhook _discord = default!;
|
||||||
[Dependency] private readonly IBaseServer _baseServer = default!;
|
[Dependency] private readonly IBaseServer _baseServer = default!;
|
||||||
|
|||||||
@@ -3,10 +3,8 @@ using System.Numerics;
|
|||||||
using Content.Server.Administration.Logs;
|
using Content.Server.Administration.Logs;
|
||||||
using Content.Server.Atmos.Components;
|
using Content.Server.Atmos.Components;
|
||||||
using Content.Server.Chat.Managers;
|
using Content.Server.Chat.Managers;
|
||||||
using Content.Server.Explosion.Components;
|
|
||||||
using Content.Server.NodeContainer.EntitySystems;
|
using Content.Server.NodeContainer.EntitySystems;
|
||||||
using Content.Server.NPC.Pathfinding;
|
using Content.Server.NPC.Pathfinding;
|
||||||
using Content.Shared.Armor;
|
|
||||||
using Content.Shared.Camera;
|
using Content.Shared.Camera;
|
||||||
using Content.Shared.CCVar;
|
using Content.Shared.CCVar;
|
||||||
using Content.Shared.Damage;
|
using Content.Shared.Damage;
|
||||||
@@ -18,8 +16,6 @@ using Content.Shared.GameTicking;
|
|||||||
using Content.Shared.Inventory;
|
using Content.Shared.Inventory;
|
||||||
using Content.Shared.Projectiles;
|
using Content.Shared.Projectiles;
|
||||||
using Content.Shared.Throwing;
|
using Content.Shared.Throwing;
|
||||||
using Content.Shared.Explosion.Components;
|
|
||||||
using Content.Shared.Explosion.EntitySystems;
|
|
||||||
using Robust.Server.GameStates;
|
using Robust.Server.GameStates;
|
||||||
using Robust.Server.Player;
|
using Robust.Server.Player;
|
||||||
using Robust.Shared.Audio.Systems;
|
using Robust.Shared.Audio.Systems;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ namespace Content.Server.Forensics
|
|||||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
|
||||||
[Dependency] private readonly LabelSystem _label = default!;
|
[Dependency] private readonly LabelSystem _label = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ namespace Content.Server.Ghost
|
|||||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||||
[Dependency] private readonly MobThresholdSystem _mobThresholdSystem = default!;
|
[Dependency] private readonly MobThresholdSystem _mobThresholdSystem = default!;
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
[Dependency] private readonly IAdminLogManager _adminLogger = default!;
|
|
||||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||||
[Dependency] private readonly IChatManager _chatManager = default!;
|
[Dependency] private readonly IChatManager _chatManager = default!;
|
||||||
[Dependency] private readonly SharedMindSystem _mind = default!;
|
[Dependency] private readonly SharedMindSystem _mind = default!;
|
||||||
@@ -503,7 +502,7 @@ namespace Content.Server.Ghost
|
|||||||
var playerEntity = mind.CurrentEntity;
|
var playerEntity = mind.CurrentEntity;
|
||||||
|
|
||||||
if (playerEntity != null && viaCommand)
|
if (playerEntity != null && viaCommand)
|
||||||
_adminLogger.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} is attempting to ghost via command");
|
_adminLog.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} is attempting to ghost via command");
|
||||||
|
|
||||||
var handleEv = new GhostAttemptHandleEvent(mind, canReturnGlobal);
|
var handleEv = new GhostAttemptHandleEvent(mind, canReturnGlobal);
|
||||||
RaiseLocalEvent(handleEv);
|
RaiseLocalEvent(handleEv);
|
||||||
@@ -575,7 +574,7 @@ namespace Content.Server.Ghost
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (playerEntity != null)
|
if (playerEntity != null)
|
||||||
_adminLogger.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} ghosted{(!canReturn ? " (non-returnable)" : "")}");
|
_adminLog.Add(LogType.Mind, $"{EntityManager.ToPrettyString(playerEntity.Value):player} ghosted{(!canReturn ? " (non-returnable)" : "")}");
|
||||||
|
|
||||||
var ghost = SpawnGhost((mindId, mind), position, canReturn);
|
var ghost = SpawnGhost((mindId, mind), position, canReturn);
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ public sealed class NameIdentifierSystem : EntitySystem
|
|||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||||
[Dependency] private readonly ILogManager _logManager = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Free IDs available per <see cref="NameIdentifierGroupPrototype"/>.
|
/// Free IDs available per <see cref="NameIdentifierGroupPrototype"/>.
|
||||||
|
|||||||
@@ -2,19 +2,20 @@ using System.Linq;
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Content.Server.Salvage.Magnet;
|
using Content.Server.Salvage.Magnet;
|
||||||
using Content.Shared.Humanoid;
|
|
||||||
using Content.Shared.Mobs.Components;
|
using Content.Shared.Mobs.Components;
|
||||||
using Content.Shared.Procedural;
|
using Content.Shared.Procedural;
|
||||||
using Content.Shared.Radio;
|
using Content.Shared.Radio;
|
||||||
using Content.Shared.Salvage.Magnet;
|
using Content.Shared.Salvage.Magnet;
|
||||||
using Robust.Server.Maps;
|
using Robust.Server.Maps;
|
||||||
|
using Robust.Shared.Exceptions;
|
||||||
using Robust.Shared.Map;
|
using Robust.Shared.Map;
|
||||||
using Robust.Shared.Map.Components;
|
|
||||||
|
|
||||||
namespace Content.Server.Salvage;
|
namespace Content.Server.Salvage;
|
||||||
|
|
||||||
public sealed partial class SalvageSystem
|
public sealed partial class SalvageSystem
|
||||||
{
|
{
|
||||||
|
[Dependency] private readonly IRuntimeLog _runtimeLog = default!;
|
||||||
|
|
||||||
[ValidatePrototypeId<RadioChannelPrototype>]
|
[ValidatePrototypeId<RadioChannelPrototype>]
|
||||||
private const string MagnetChannel = "Supply";
|
private const string MagnetChannel = "Supply";
|
||||||
|
|
||||||
@@ -45,7 +46,19 @@ public sealed partial class SalvageSystem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
TakeMagnetOffer((station.Value, dataComp), args.Index, (uid, component));
|
var index = args.Index;
|
||||||
|
async void TryTakeMagnetOffer()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
await TakeMagnetOffer((station.Value, dataComp), index, (uid, component));
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
_runtimeLog.LogException(e, $"{nameof(SalvageSystem)}.{nameof(TakeMagnetOffer)}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TryTakeMagnetOffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnMagnetStartup(EntityUid uid, SalvageMagnetComponent component, ComponentStartup args)
|
private void OnMagnetStartup(EntityUid uid, SalvageMagnetComponent component, ComponentStartup args)
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ using Content.Server.Humanoid;
|
|||||||
using Content.Server.IdentityManagement;
|
using Content.Server.IdentityManagement;
|
||||||
using Content.Server.Mind.Commands;
|
using Content.Server.Mind.Commands;
|
||||||
using Content.Server.PDA;
|
using Content.Server.PDA;
|
||||||
using Content.Server.Shuttles.Systems;
|
|
||||||
using Content.Server.Spawners.EntitySystems;
|
|
||||||
using Content.Server.Station.Components;
|
using Content.Server.Station.Components;
|
||||||
using Content.Shared.Access.Components;
|
using Content.Shared.Access.Components;
|
||||||
using Content.Shared.Access.Systems;
|
using Content.Shared.Access.Systems;
|
||||||
@@ -39,10 +37,8 @@ public sealed class StationSpawningSystem : SharedStationSpawningSystem
|
|||||||
{
|
{
|
||||||
[Dependency] private readonly SharedAccessSystem _accessSystem = default!;
|
[Dependency] private readonly SharedAccessSystem _accessSystem = default!;
|
||||||
[Dependency] private readonly ActorSystem _actors = default!;
|
[Dependency] private readonly ActorSystem _actors = default!;
|
||||||
[Dependency] private readonly ArrivalsSystem _arrivalsSystem = default!;
|
|
||||||
[Dependency] private readonly IdCardSystem _cardSystem = default!;
|
[Dependency] private readonly IdCardSystem _cardSystem = default!;
|
||||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||||
[Dependency] private readonly ContainerSpawnPointSystem _containerSpawnPointSystem = default!;
|
|
||||||
[Dependency] private readonly HumanoidAppearanceSystem _humanoidSystem = default!;
|
[Dependency] private readonly HumanoidAppearanceSystem _humanoidSystem = default!;
|
||||||
[Dependency] private readonly IdentitySystem _identity = default!;
|
[Dependency] private readonly IdentitySystem _identity = default!;
|
||||||
[Dependency] private readonly MetaDataSystem _metaSystem = default!;
|
[Dependency] private readonly MetaDataSystem _metaSystem = default!;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Server.Administration;
|
using Content.Server.Administration;
|
||||||
using Content.Server.Administration.Managers;
|
using Content.Server.Administration.Managers;
|
||||||
using Content.Server.Database;
|
|
||||||
using Content.Server.Discord.WebhookMessages;
|
using Content.Server.Discord.WebhookMessages;
|
||||||
using Content.Server.GameTicking;
|
using Content.Server.GameTicking;
|
||||||
using Content.Server.GameTicking.Presets;
|
using Content.Server.GameTicking.Presets;
|
||||||
@@ -11,7 +10,6 @@ using Content.Server.RoundEnd;
|
|||||||
using Content.Shared.CCVar;
|
using Content.Shared.CCVar;
|
||||||
using Content.Shared.Chat;
|
using Content.Shared.Chat;
|
||||||
using Content.Shared.Database;
|
using Content.Shared.Database;
|
||||||
using Content.Shared.Ghost;
|
|
||||||
using Content.Shared.Players;
|
using Content.Shared.Players;
|
||||||
using Content.Shared.Players.PlayTimeTracking;
|
using Content.Shared.Players.PlayTimeTracking;
|
||||||
using Content.Shared.Voting;
|
using Content.Shared.Voting;
|
||||||
@@ -27,14 +25,13 @@ namespace Content.Server.Voting.Managers
|
|||||||
[Dependency] private readonly IPlayerLocator _locator = default!;
|
[Dependency] private readonly IPlayerLocator _locator = default!;
|
||||||
[Dependency] private readonly ILogManager _logManager = default!;
|
[Dependency] private readonly ILogManager _logManager = default!;
|
||||||
[Dependency] private readonly IBanManager _bans = default!;
|
[Dependency] private readonly IBanManager _bans = default!;
|
||||||
[Dependency] private readonly IServerDbManager _dbManager = default!;
|
|
||||||
[Dependency] private readonly VoteWebhooks _voteWebhooks = default!;
|
[Dependency] private readonly VoteWebhooks _voteWebhooks = default!;
|
||||||
|
|
||||||
private VotingSystem? _votingSystem;
|
private VotingSystem? _votingSystem;
|
||||||
private RoleSystem? _roleSystem;
|
private RoleSystem? _roleSystem;
|
||||||
private GameTicker? _gameTicker;
|
private GameTicker? _gameTicker;
|
||||||
|
|
||||||
private static readonly Dictionary<StandardVoteType, CVarDef<bool>> _voteTypesToEnableCVars = new()
|
private static readonly Dictionary<StandardVoteType, CVarDef<bool>> VoteTypesToEnableCVars = new()
|
||||||
{
|
{
|
||||||
{StandardVoteType.Restart, CCVars.VoteRestartEnabled},
|
{StandardVoteType.Restart, CCVars.VoteRestartEnabled},
|
||||||
{StandardVoteType.Preset, CCVars.VotePresetEnabled},
|
{StandardVoteType.Preset, CCVars.VotePresetEnabled},
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ namespace Content.Server.Voting.Managers
|
|||||||
DirtyCanCallVoteAll();
|
DirtyCanCallVoteAll();
|
||||||
});
|
});
|
||||||
|
|
||||||
foreach (var kvp in _voteTypesToEnableCVars)
|
foreach (var kvp in VoteTypesToEnableCVars)
|
||||||
{
|
{
|
||||||
_cfg.OnValueChanged(kvp.Value, _ =>
|
_cfg.OnValueChanged(kvp.Value, _ =>
|
||||||
{
|
{
|
||||||
@@ -346,7 +346,7 @@ namespace Content.Server.Voting.Managers
|
|||||||
if (!_cfg.GetCVar(CCVars.VoteEnabled))
|
if (!_cfg.GetCVar(CCVars.VoteEnabled))
|
||||||
return false;
|
return false;
|
||||||
// Specific standard vote types can be disabled with cvars.
|
// Specific standard vote types can be disabled with cvars.
|
||||||
if (voteType != null && _voteTypesToEnableCVars.TryGetValue(voteType.Value, out var cvar) && !_cfg.GetCVar(cvar))
|
if (voteType != null && VoteTypesToEnableCVars.TryGetValue(voteType.Value, out var cvar) && !_cfg.GetCVar(cvar))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Cannot start vote if vote is already active (as non-admin).
|
// Cannot start vote if vote is already active (as non-admin).
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ using Robust.Shared.Timing;
|
|||||||
using Robust.Shared.Audio.Systems;
|
using Robust.Shared.Audio.Systems;
|
||||||
using Robust.Shared.Network;
|
using Robust.Shared.Network;
|
||||||
using Robust.Shared.Map.Components;
|
using Robust.Shared.Map.Components;
|
||||||
using Robust.Shared.Physics;
|
|
||||||
|
|
||||||
namespace Content.Shared.Doors.Systems;
|
namespace Content.Shared.Doors.Systems;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,10 @@ namespace Content.Shared.GameTicking
|
|||||||
|
|
||||||
private void OnRecordingStart(MappingDataNode metadata, List<object> events)
|
private void OnRecordingStart(MappingDataNode metadata, List<object> events)
|
||||||
{
|
{
|
||||||
metadata["roundId"] = new ValueDataNode(RoundId.ToString());
|
if (RoundId != 0)
|
||||||
|
{
|
||||||
|
metadata["roundId"] = new ValueDataNode(RoundId.ToString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeSpan RoundDuration()
|
public TimeSpan RoundDuration()
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ using Content.Shared.UserInterface;
|
|||||||
using Content.Shared.Verbs;
|
using Content.Shared.Verbs;
|
||||||
using Content.Shared.Wall;
|
using Content.Shared.Wall;
|
||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.Configuration;
|
|
||||||
using Robust.Shared.Containers;
|
using Robust.Shared.Containers;
|
||||||
using Robust.Shared.Input;
|
using Robust.Shared.Input;
|
||||||
using Robust.Shared.Input.Binding;
|
using Robust.Shared.Input.Binding;
|
||||||
@@ -38,7 +37,6 @@ using Robust.Shared.Physics;
|
|||||||
using Robust.Shared.Physics.Components;
|
using Robust.Shared.Physics.Components;
|
||||||
using Robust.Shared.Physics.Systems;
|
using Robust.Shared.Physics.Systems;
|
||||||
using Robust.Shared.Player;
|
using Robust.Shared.Player;
|
||||||
using Robust.Shared.Random;
|
|
||||||
using Robust.Shared.Serialization;
|
using Robust.Shared.Serialization;
|
||||||
using Robust.Shared.Timing;
|
using Robust.Shared.Timing;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
@@ -65,12 +63,10 @@ namespace Content.Shared.Interaction
|
|||||||
[Dependency] private readonly UseDelaySystem _useDelay = default!;
|
[Dependency] private readonly UseDelaySystem _useDelay = default!;
|
||||||
[Dependency] private readonly PullingSystem _pullSystem = default!;
|
[Dependency] private readonly PullingSystem _pullSystem = default!;
|
||||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||||
[Dependency] private readonly IRobustRandom _random = default!;
|
|
||||||
[Dependency] private readonly TagSystem _tagSystem = default!;
|
[Dependency] private readonly TagSystem _tagSystem = default!;
|
||||||
[Dependency] private readonly SharedUserInterfaceSystem _ui = default!;
|
[Dependency] private readonly SharedUserInterfaceSystem _ui = default!;
|
||||||
[Dependency] private readonly SharedStrippableSystem _strippable = default!;
|
[Dependency] private readonly SharedStrippableSystem _strippable = default!;
|
||||||
[Dependency] private readonly SharedPlayerRateLimitManager _rateLimit = default!;
|
[Dependency] private readonly SharedPlayerRateLimitManager _rateLimit = default!;
|
||||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
|
||||||
[Dependency] private readonly ISharedChatManager _chat = default!;
|
[Dependency] private readonly ISharedChatManager _chat = default!;
|
||||||
|
|
||||||
private EntityQuery<IgnoreUIRangeComponent> _ignoreUiRangeQuery;
|
private EntityQuery<IgnoreUIRangeComponent> _ignoreUiRangeQuery;
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ using Content.Shared.Interaction;
|
|||||||
using Content.Shared.Item;
|
using Content.Shared.Item;
|
||||||
using Content.Shared.Lock;
|
using Content.Shared.Lock;
|
||||||
using Content.Shared.Movement.Events;
|
using Content.Shared.Movement.Events;
|
||||||
using Content.Shared.Placeable;
|
|
||||||
using Content.Shared.Popups;
|
using Content.Shared.Popups;
|
||||||
using Content.Shared.Storage.Components;
|
using Content.Shared.Storage.Components;
|
||||||
using Content.Shared.Tools.Systems;
|
using Content.Shared.Tools.Systems;
|
||||||
@@ -34,7 +33,6 @@ public abstract class SharedEntityStorageSystem : EntitySystem
|
|||||||
[Dependency] private readonly IGameTiming _timing = default!;
|
[Dependency] private readonly IGameTiming _timing = default!;
|
||||||
[Dependency] private readonly INetManager _net = default!;
|
[Dependency] private readonly INetManager _net = default!;
|
||||||
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
||||||
[Dependency] private readonly PlaceableSurfaceSystem _placeableSurface = default!;
|
|
||||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||||
|
|||||||
Reference in New Issue
Block a user