mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-06-09 10:06:49 +02:00
pew
This commit is contained in:
@@ -5,7 +5,7 @@ using static Robust.Client.UserInterface.Controls.BaseButton; // Corvax-Wega-Rec
|
|||||||
|
|
||||||
namespace Content.Client.StationRecords;
|
namespace Content.Client.StationRecords;
|
||||||
|
|
||||||
public sealed class GeneralStationRecordConsoleBoundUserInterface : BoundUserInterface
|
public sealed partial class GeneralStationRecordConsoleBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private GeneralStationRecordConsoleWindow? _window = default!;
|
private GeneralStationRecordConsoleWindow? _window = default!;
|
||||||
@@ -14,8 +14,8 @@ public sealed class GeneralStationRecordConsoleBoundUserInterface : BoundUserInt
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[Dependency] private readonly IEntityManager _entityManager = default!; // Corvax-Wega-Record
|
[Dependency] private IEntityManager _entityManager = default!; // Corvax-Wega-Record
|
||||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!; // Corvax-Wega-Record
|
[Dependency] private ISharedPlayerManager _playerManager = default!; // Corvax-Wega-Record
|
||||||
|
|
||||||
protected override void Open()
|
protected override void Open()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ namespace Content.Client.UserInterface.Systems.Ghost;
|
|||||||
public sealed partial class GhostUIController : UIController, IOnSystemChanged<GhostSystem>, IOnSystemChanged<GhostRespawnSystem> // Corvax-Wega-GhostRespawn
|
public sealed partial class GhostUIController : UIController, IOnSystemChanged<GhostSystem>, IOnSystemChanged<GhostRespawnSystem> // Corvax-Wega-GhostRespawn
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityNetworkManager _net = default!;
|
[Dependency] private IEntityNetworkManager _net = default!;
|
||||||
[Dependency] private readonly IConfigurationManager _cfg = default!; // Corvax-Wega-GhostRespawn
|
[Dependency] private IConfigurationManager _cfg = default!; // Corvax-Wega-GhostRespawn
|
||||||
[Dependency] private readonly IConsoleHost _consoleHost = default!; // Corvax-Wega-GhostRespawn
|
[Dependency] private IConsoleHost _consoleHost = default!; // Corvax-Wega-GhostRespawn
|
||||||
|
|
||||||
[UISystemDependency] private readonly GhostSystem? _system = default;
|
[UISystemDependency] private readonly GhostSystem? _system = default;
|
||||||
[UISystemDependency] private readonly GhostRespawnSystem? _respawn = default; // Corvax-Wega-GhostRespawn
|
[UISystemDependency] private readonly GhostRespawnSystem? _respawn = default; // Corvax-Wega-GhostRespawn
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Widgets;
|
|||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class GhostGui : UIWidget
|
public sealed partial class GhostGui : UIWidget
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameTiming _gameTiming = default!; // Corvax-Wega-GhostRespawn
|
[Dependency] private IGameTiming _gameTiming = default!; // Corvax-Wega-GhostRespawn
|
||||||
|
|
||||||
private TimeSpan? _timeOfDeath; // Corvax-Wega-GhostRespawn
|
private TimeSpan? _timeOfDeath; // Corvax-Wega-GhostRespawn
|
||||||
private float _minTimeToRespawn; // Corvax-Wega-GhostRespawn
|
private float _minTimeToRespawn; // Corvax-Wega-GhostRespawn
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.Achievements;
|
namespace Content.Client.Achievements;
|
||||||
|
|
||||||
public sealed class AchievementsSystem : SharedAchievementsSystem
|
public sealed partial class AchievementsSystem : SharedAchievementsSystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IUserInterfaceManager _ui = default!;
|
[Dependency] private IUserInterfaceManager _ui = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Content.Shared._Wega.Android;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Android;
|
namespace Content.Client._Wega.Android;
|
||||||
|
|
||||||
public sealed class AndroidFrameSystem : SharedAndroidFrameSystem
|
public sealed partial class AndroidFrameSystem : SharedAndroidFrameSystem
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Content.Shared.PowerCell;
|
|||||||
|
|
||||||
namespace Content.Client.Android;
|
namespace Content.Client.Android;
|
||||||
|
|
||||||
public sealed class AndroidSystem : SharedAndroidSystem
|
public sealed partial class AndroidSystem : SharedAndroidSystem
|
||||||
{
|
{
|
||||||
[Dependency] private PowerCellSystem _powerCell = default!;
|
[Dependency] private PowerCellSystem _powerCell = default!;
|
||||||
[Dependency] private BatterySystem _battery = default!;
|
[Dependency] private BatterySystem _battery = default!;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using Robust.Shared.Prototypes;
|
|||||||
namespace Content.Client._Wega.Android.Ui;
|
namespace Content.Client._Wega.Android.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class AndroidConstructBoundUserInterface : BoundUserInterface
|
public sealed partial class AndroidConstructBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private AndroidConstructMenu? _menu;
|
private AndroidConstructMenu? _menu;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace Content.Client.Speech.Synthesis.System;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Система отвечающая за прогрышь звука для каждого калиента
|
/// Система отвечающая за прогрышь звука для каждого калиента
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class BarkSystem : EntitySystem
|
public sealed partial class BarkSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AudioSystem _audio = default!;
|
[Dependency] private AudioSystem _audio = default!;
|
||||||
[Dependency] private IConfigurationManager _cfg = default!;
|
[Dependency] private IConfigurationManager _cfg = default!;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using Robust.Shared.Random;
|
|||||||
|
|
||||||
namespace Content.Client.Blood.Cult
|
namespace Content.Client.Blood.Cult
|
||||||
{
|
{
|
||||||
public sealed class BloodCultSystem : SharedBloodCultSystem
|
public sealed partial class BloodCultSystem : SharedBloodCultSystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private IPrototypeManager _prototype = default!;
|
[Dependency] private IPrototypeManager _prototype = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class BloodConstructBoundUserInterface : BoundUserInterface
|
public sealed partial class BloodConstructBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private BloodConstructMenu? _menu;
|
private BloodConstructMenu? _menu;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using JetBrains.Annotations;
|
|||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class BloodMagicEui : BaseEui
|
public sealed partial class BloodMagicEui : BaseEui
|
||||||
{
|
{
|
||||||
private readonly BloodMagicMenu _menu;
|
private readonly BloodMagicMenu _menu;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
public sealed class BloodRitesBoundUserInterface : BoundUserInterface
|
public sealed partial class BloodRitesBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private BloodRitesMenu? _menu;
|
private BloodRitesMenu? _menu;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class BloodStructureBoundUserInterface : BoundUserInterface
|
public sealed partial class BloodStructureBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private BloodStructureMenu? _menu;
|
private BloodStructureMenu? _menu;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
public sealed class EmpoweringRuneBoundUserInterface : BoundUserInterface
|
public sealed partial class EmpoweringRuneBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private EmpoweringRuneMenu? _menu;
|
private EmpoweringRuneMenu? _menu;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class RunesMenuBoundUserInterface : BoundUserInterface
|
public sealed partial class RunesMenuBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private RunesMenu? _menu;
|
private RunesMenu? _menu;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.BloodCult.Ui;
|
namespace Content.Client._Wega.BloodCult.Ui;
|
||||||
|
|
||||||
public sealed class SummoningRuneBoundUserInterface : BoundUserInterface
|
public sealed partial class SummoningRuneBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private SummoningRuneMenu? _menu;
|
private SummoningRuneMenu? _menu;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Botany;
|
namespace Content.Client._Wega.Botany;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class PlantAnalyzerBoundUserInterface : BoundUserInterface
|
public sealed partial class PlantAnalyzerBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private PlantAnalyzerWindow? _window;
|
private PlantAnalyzerWindow? _window;
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ using Content.Shared.Botany.Systems;
|
|||||||
|
|
||||||
namespace Content.Client.Botany.Systems;
|
namespace Content.Client.Botany.Systems;
|
||||||
|
|
||||||
public sealed class PlantAnalyzerSystem : SharedPlantAnalyzerSystem
|
public sealed partial class PlantAnalyzerSystem : SharedPlantAnalyzerSystem
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Card.Tarot;
|
namespace Content.Client.Card.Tarot;
|
||||||
|
|
||||||
public sealed class CardTarotSystem : EntitySystem
|
public sealed partial class CardTarotSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using System.Numerics;
|
|||||||
|
|
||||||
namespace Content.Client.Crayon;
|
namespace Content.Client.Crayon;
|
||||||
|
|
||||||
public sealed class CrayonPreviewOverlay : Overlay
|
public sealed partial class CrayonPreviewOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IInputManager _input = default!;
|
[Dependency] private IInputManager _input = default!;
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Content.Shared.Eui;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.DetailExaminable;
|
namespace Content.Client._Wega.DetailExaminable;
|
||||||
|
|
||||||
public sealed class DetailExaminableEui : BaseEui
|
public sealed partial class DetailExaminableEui : BaseEui
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entManager = default!;
|
[Dependency] private IEntityManager _entManager = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Client.DirtVisuals;
|
namespace Content.Client.DirtVisuals;
|
||||||
|
|
||||||
public sealed class DirtVisualsSystem : EntitySystem
|
public sealed partial class DirtVisualsSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Shower
|
namespace Content.Client.Shower
|
||||||
{
|
{
|
||||||
public sealed class ShowerSystem : EntitySystem
|
public sealed partial class ShowerSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.WashingMachine
|
namespace Content.Client.WashingMachine
|
||||||
{
|
{
|
||||||
public sealed class WashingMachineSystem : EntitySystem
|
public sealed partial class WashingMachineSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Client.Disease
|
|||||||
/// Controls client-side visuals for the
|
/// Controls client-side visuals for the
|
||||||
/// disease machines.
|
/// disease machines.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class DiseaseMachineSystem : VisualizerSystem<DiseaseMachineVisualsComponent>
|
public sealed partial class DiseaseMachineSystem : VisualizerSystem<DiseaseMachineVisualsComponent>
|
||||||
{
|
{
|
||||||
protected override void OnAppearanceChange(EntityUid uid, DiseaseMachineVisualsComponent component, ref AppearanceChangeEvent args)
|
protected override void OnAppearanceChange(EntityUid uid, DiseaseMachineVisualsComponent component, ref AppearanceChangeEvent args)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.GPS.UI;
|
namespace Content.Client._Wega.GPS.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class GpsBoundUserInterface : BoundUserInterface
|
public sealed partial class GpsBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
private GpsWindow? _window;
|
private GpsWindow? _window;
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.GPS.UI;
|
namespace Content.Client._Wega.GPS.UI;
|
||||||
|
|
||||||
public sealed class GpsNavMapControl : Control
|
public sealed partial class GpsNavMapControl : Control
|
||||||
{
|
{
|
||||||
[Dependency] private IResourceCache _resourceCache = default!;
|
[Dependency] private IResourceCache _resourceCache = default!;
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ public sealed partial class GpsWindow : BaseWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public sealed class GpsDeviceControl : PanelContainer
|
public sealed partial class GpsDeviceControl : PanelContainer
|
||||||
{
|
{
|
||||||
public GpsDeviceControl(GpsDeviceInfo device)
|
public GpsDeviceControl(GpsDeviceInfo device)
|
||||||
{
|
{
|
||||||
@@ -335,7 +335,7 @@ public sealed class GpsDeviceControl : PanelContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public sealed class NavBeaconControl : PanelContainer
|
public sealed partial class NavBeaconControl : PanelContainer
|
||||||
{
|
{
|
||||||
public NavBeaconControl(NavBeaconInfo beacon)
|
public NavBeaconControl(NavBeaconInfo beacon)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.Genetics.System;
|
namespace Content.Client.Genetics.System;
|
||||||
|
|
||||||
public sealed class DizzyOverlay : Overlay
|
public sealed partial class DizzyOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.Genetics.System;
|
namespace Content.Client.Genetics.System;
|
||||||
|
|
||||||
public sealed class DizzySystem : EntitySystem
|
public sealed partial class DizzySystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Genetics.Ui;
|
namespace Content.Client._Wega.Genetics.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class DnaModifierBoundUserInterface : BoundUserInterface
|
public sealed partial class DnaModifierBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private DnaModifierWindow? _window;
|
private DnaModifierWindow? _window;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Genetics.Ui;
|
namespace Content.Client._Wega.Genetics.Ui;
|
||||||
|
|
||||||
public sealed class MindCommunicationUIController : UIController
|
public sealed partial class MindCommunicationUIController : UIController
|
||||||
{
|
{
|
||||||
[Dependency] private IUserInterfaceManager _uiManager = default!;
|
[Dependency] private IUserInterfaceManager _uiManager = default!;
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Content.Shared.Wega.Ghost.Respawn;
|
|||||||
|
|
||||||
namespace Content.Client.Wega.Ghost.Respawn;
|
namespace Content.Client.Wega.Ghost.Respawn;
|
||||||
|
|
||||||
public sealed class GhostRespawnSystem : EntitySystem
|
public sealed partial class GhostRespawnSystem : EntitySystem
|
||||||
{
|
{
|
||||||
public TimeSpan? GhostRespawnTime { get; private set; }
|
public TimeSpan? GhostRespawnTime { get; private set; }
|
||||||
public event Action? GhostRespawn;
|
public event Action? GhostRespawn;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Humanoid;
|
namespace Content.Client.Humanoid;
|
||||||
|
|
||||||
public sealed class HumanoidHeightSystem : EntitySystem
|
public sealed partial class HumanoidHeightSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Player;
|
|||||||
namespace Content.Client._Wega.Item.Selector.UI;
|
namespace Content.Client._Wega.Item.Selector.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class ItemSelectorBoundUserInterface : BoundUserInterface
|
public sealed partial class ItemSelectorBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Item.Selector.UI;
|
namespace Content.Client._Wega.Item.Selector.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class ObjectSelectorBoundUserInterface : BoundUserInterface
|
public sealed partial class ObjectSelectorBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private ObjectSelectorWindow? _window;
|
private ObjectSelectorWindow? _window;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Lavaland;
|
namespace Content.Client._Wega.Lavaland;
|
||||||
|
|
||||||
public sealed class LavalandConsoleBoundUserInterface : BoundUserInterface
|
public sealed partial class LavalandConsoleBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private LavalandConsoleWindow? _window;
|
private LavalandConsoleWindow? _window;
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Lavaland;
|
namespace Content.Client._Wega.Lavaland;
|
||||||
|
|
||||||
public sealed class LavalandPenalServitudeConsoleBoundUserInterface : BoundUserInterface
|
public sealed partial class LavalandPenalServitudeConsoleBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private LavalandPenalServitudeConsoleWindow? _window;
|
private LavalandPenalServitudeConsoleWindow? _window;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Lavaland;
|
namespace Content.Client._Wega.Lavaland;
|
||||||
|
|
||||||
public sealed class UtilityVendorBoundUserInterface : BoundUserInterface
|
public sealed partial class UtilityVendorBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private UtilityVendorMenu? _window;
|
private UtilityVendorMenu? _window;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Content.Shared.Injector.Fabticator;
|
using Content.Shared.Injector.Fabticator;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
|
|
||||||
public sealed class InjectorFabticatorSystem : EntitySystem
|
public sealed partial class InjectorFabticatorSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using JetBrains.Annotations;
|
|||||||
namespace Content.Client._Wega.Medical.Ui;
|
namespace Content.Client._Wega.Medical.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class InjectorFabticatorBoundUserInterface : BoundUserInterface
|
public sealed partial class InjectorFabticatorBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private InjectorFabticatorWindow? _window;
|
private InjectorFabticatorWindow? _window;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Mining;
|
namespace Content.Client._Wega.Mining;
|
||||||
|
|
||||||
public sealed class MiningConsoleBoundInterface : BoundUserInterface
|
public sealed partial class MiningConsoleBoundInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private MiningConsoleWindow? _window;
|
private MiningConsoleWindow? _window;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Content.Shared.Mining.Components;
|
|||||||
|
|
||||||
namespace Content.Client.Mining.Visualizers
|
namespace Content.Client.Mining.Visualizers
|
||||||
{
|
{
|
||||||
public sealed class MiningServerVisualizerSystem : VisualizerSystem<MiningServerVisualsComponent>
|
public sealed partial class MiningServerVisualizerSystem : VisualizerSystem<MiningServerVisualsComponent>
|
||||||
{
|
{
|
||||||
protected override void OnAppearanceChange(EntityUid uid, MiningServerVisualsComponent component, ref AppearanceChangeEvent args)
|
protected override void OnAppearanceChange(EntityUid uid, MiningServerVisualsComponent component, ref AppearanceChangeEvent args)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Client.Modular.Suit;
|
|||||||
/// Handles the sprite state changes while
|
/// Handles the sprite state changes while
|
||||||
/// constructing mech assemblies.
|
/// constructing mech assemblies.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class ModularSuitAssemblyVisualizerSystem : VisualizerSystem<ModularSuitAssemblyVisualsComponent>
|
public sealed partial class ModularSuitAssemblyVisualizerSystem : VisualizerSystem<ModularSuitAssemblyVisualsComponent>
|
||||||
{
|
{
|
||||||
protected override void OnAppearanceChange(EntityUid uid, ModularSuitAssemblyVisualsComponent component,
|
protected override void OnAppearanceChange(EntityUid uid, ModularSuitAssemblyVisualsComponent component,
|
||||||
ref AppearanceChangeEvent args)
|
ref AppearanceChangeEvent args)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Client.Modular.Suit;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// idk.
|
/// idk.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class ModularSuitHiddenClothingSystem : SharedModularSuitHiddenClothingSystem
|
public sealed partial class ModularSuitHiddenClothingSystem : SharedModularSuitHiddenClothingSystem
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.ModularSuit.Ui;
|
namespace Content.Client._Wega.ModularSuit.Ui;
|
||||||
|
|
||||||
public sealed class LightModuleBoundUserInterface : BoundUserInterface
|
public sealed partial class LightModuleBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
private LightModuleWindow? _window;
|
private LightModuleWindow? _window;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.ModularSuit.Ui;
|
namespace Content.Client._Wega.ModularSuit.Ui;
|
||||||
|
|
||||||
public sealed class ModularSuitBoundUserInterface : BoundUserInterface
|
public sealed partial class ModularSuitBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private ModularSuitWindow? _window;
|
private ModularSuitWindow? _window;
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ public sealed partial class ModularSuitWindow : BaseWindow
|
|||||||
protected override DragMode GetDragModeFor(Vector2 relativeMousePos) => DragMode.Move;
|
protected override DragMode GetDragModeFor(Vector2 relativeMousePos) => DragMode.Move;
|
||||||
}
|
}
|
||||||
|
|
||||||
public sealed class ModuleControl : PanelContainer
|
public sealed partial class ModuleControl : PanelContainer
|
||||||
{
|
{
|
||||||
private readonly CheckBox? _toggleButton;
|
private readonly CheckBox? _toggleButton;
|
||||||
public event Action<bool>? OnToggle;
|
public event Action<bool>? OnToggle;
|
||||||
@@ -334,7 +334,7 @@ public sealed class ModuleControl : PanelContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public sealed class PartControl : PanelContainer
|
public sealed partial class PartControl : PanelContainer
|
||||||
{
|
{
|
||||||
public PartControl(SuitPartEntry part, IEntityManager entMan)
|
public PartControl(SuitPartEntry part, IEntityManager entMan)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.NullRod;
|
namespace Content.Client.NullRod;
|
||||||
|
|
||||||
public sealed class NullDamageOverlay : Overlay
|
public sealed partial class NullDamageOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.NullRod;
|
namespace Content.Client.NullRod;
|
||||||
|
|
||||||
public sealed class NullDamageSystem : EntitySystem
|
public sealed partial class NullDamageSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Enums;
|
|||||||
|
|
||||||
namespace Content.Client.Offer;
|
namespace Content.Client.Offer;
|
||||||
|
|
||||||
public sealed class OfferItemIndicatorsOverlay : Overlay
|
public sealed partial class OfferItemIndicatorsOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IInputManager _inputManager = default!;
|
[Dependency] private IInputManager _inputManager = default!;
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.Offer;
|
namespace Content.Client.Offer;
|
||||||
|
|
||||||
public sealed class OfferItemSystem : SharedOfferItemSystem
|
public sealed partial class OfferItemSystem : SharedOfferItemSystem
|
||||||
{
|
{
|
||||||
[Dependency] private IOverlayManager _overlay = default!;
|
[Dependency] private IOverlayManager _overlay = default!;
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Overlays;
|
namespace Content.Client.Overlays;
|
||||||
|
|
||||||
public abstract class ToggleableEquipmentHudSystem<T> : EquipmentHudSystem<T>
|
public abstract partial class ToggleableEquipmentHudSystem<T> : EquipmentHudSystem<T>
|
||||||
where T : ToggleableHudComponent
|
where T : ToggleableHudComponent
|
||||||
{
|
{
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnRefreshComponentHud(Entity<T> ent, ref RefreshEquipmentHudEvent<T> args)
|
protected override void OnRefreshComponentHud(Entity<T> ent, ref RefreshEquipmentHudEvent<T> args)
|
||||||
{
|
{
|
||||||
if (!ent.Comp.Enabled)
|
if (!ent.Comp.Enabled)
|
||||||
@@ -19,4 +19,4 @@ public abstract class ToggleableEquipmentHudSystem<T> : EquipmentHudSystem<T>
|
|||||||
|
|
||||||
base.OnRefreshComponentHud(ent, ref args);
|
base.OnRefreshComponentHud(ent, ref args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class ColourblindnessOverlay : Overlay
|
public sealed partial class ColourblindnessOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.System;
|
namespace Content.Client.Shaders.System;
|
||||||
|
|
||||||
public sealed class ColourblindnessSystem : EntitySystem
|
public sealed partial class ColourblindnessSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using Content.Shared.Mobs;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Overlays;
|
namespace Content.Client._Wega.Overlays;
|
||||||
|
|
||||||
public sealed class ListenUpOverlay : Overlay
|
public sealed partial class ListenUpOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entity = default!;
|
[Dependency] private IEntityManager _entity = default!;
|
||||||
[Dependency] private IPlayerManager _players = default!;
|
[Dependency] private IPlayerManager _players = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Overlays;
|
namespace Content.Client._Wega.Overlays;
|
||||||
|
|
||||||
public sealed class ListenUpSystem : SharedListenUpSkillSystem
|
public sealed partial class ListenUpSystem : SharedListenUpSkillSystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class NaturalNightVisionOverlay : Overlay
|
public sealed partial class NaturalNightVisionOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class NaturalNightVisionSystem : EntitySystem
|
public sealed partial class NaturalNightVisionSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IOverlayManager _overlayManager = default!;
|
[Dependency] private IOverlayManager _overlayManager = default!;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class NightVisionOverlay : Overlay
|
public sealed partial class NightVisionOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.GameStates;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class NightVisionSystem : ToggleableEquipmentHudSystem<NightVisionComponent>
|
public sealed partial class NightVisionSystem : ToggleableEquipmentHudSystem<NightVisionComponent>
|
||||||
{
|
{
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
[Dependency] private ILightManager _lightManager = default!;
|
[Dependency] private ILightManager _lightManager = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.Systems;
|
namespace Content.Client.Shaders.Systems;
|
||||||
|
|
||||||
public sealed class NoirVisionOverlay : Overlay
|
public sealed partial class NoirVisionOverlay : Overlay
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Player;
|
|||||||
|
|
||||||
namespace Content.Client.Shaders.System;
|
namespace Content.Client.Shaders.System;
|
||||||
|
|
||||||
public sealed class NoirVisionSystem : EntitySystem
|
public sealed partial class NoirVisionSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.Controls;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Stylesheets;
|
namespace Content.Client._Wega.Stylesheets;
|
||||||
|
|
||||||
public sealed class SecApartmentStyles
|
public sealed partial class SecApartmentStyles
|
||||||
{
|
{
|
||||||
private readonly IResourceCache _resCache;
|
private readonly IResourceCache _resCache;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Surgery.Ui
|
namespace Content.Client._Wega.Surgery.Ui
|
||||||
{
|
{
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class BodyScannerBoundUserInterface : BoundUserInterface
|
public sealed partial class BodyScannerBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private BodyScannerWindow? _window;
|
private BodyScannerWindow? _window;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Player;
|
|||||||
namespace Content.Client._Wega.Surgery.Ui;
|
namespace Content.Client._Wega.Surgery.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class SurgeryBoundUserInterface : BoundUserInterface
|
public sealed partial class SurgeryBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Client.TapeRecorder;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required for client side prediction stuff
|
/// Required for client side prediction stuff
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class TapeRecorderSystem : SharedTapeRecorderSystem
|
public sealed partial class TapeRecorderSystem : SharedTapeRecorderSystem
|
||||||
{
|
{
|
||||||
private TimeSpan _lastTickTime = TimeSpan.Zero;
|
private TimeSpan _lastTickTime = TimeSpan.Zero;
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.TapeRecorder.Ui;
|
namespace Content.Client.TapeRecorder.Ui;
|
||||||
|
|
||||||
public sealed class TapeRecorderBoundUserInterface(EntityUid owner, Enum uiKey) : BoundUserInterface(owner, uiKey)
|
public sealed partial class TapeRecorderBoundUserInterface(EntityUid owner, Enum uiKey) : BoundUserInterface(owner, uiKey)
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entMan = default!;
|
[Dependency] private IEntityManager _entMan = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using JetBrains.Annotations;
|
|||||||
namespace Content.Client._Wega.Vampire.Ui;
|
namespace Content.Client._Wega.Vampire.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class DissectSelectionEui : BaseEui
|
public sealed partial class DissectSelectionEui : BaseEui
|
||||||
{
|
{
|
||||||
private DissectSelectionMenu _menu;
|
private DissectSelectionMenu _menu;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using JetBrains.Annotations;
|
|||||||
namespace Content.Client._Wega.Vampire.Ui;
|
namespace Content.Client._Wega.Vampire.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class TrophiesMenuEui : BaseEui
|
public sealed partial class TrophiesMenuEui : BaseEui
|
||||||
{
|
{
|
||||||
private TrophiesMenu _menu;
|
private TrophiesMenu _menu;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using JetBrains.Annotations;
|
|||||||
namespace Content.Client._Wega.Vampire.Ui;
|
namespace Content.Client._Wega.Vampire.Ui;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class VampireClassSelectionEui : BaseEui
|
public sealed partial class VampireClassSelectionEui : BaseEui
|
||||||
{
|
{
|
||||||
private readonly VampireClassSelectionMenu _menu;
|
private readonly VampireClassSelectionMenu _menu;
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.Vampire;
|
namespace Content.Client.Vampire;
|
||||||
|
|
||||||
public sealed class VampireSystem : SharedVampireSystem
|
public sealed partial class VampireSystem : SharedVampireSystem
|
||||||
{
|
{
|
||||||
[Dependency] private GhostSystem? _ghost = default;
|
[Dependency] private GhostSystem _ghost = default!;
|
||||||
[Dependency] private IClientAdminManager _admin = default!;
|
[Dependency] private IClientAdminManager _admin = default!;
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IPrototypeManager _prototype = default!;
|
[Dependency] private IPrototypeManager _prototype = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client.Vehicle;
|
namespace Content.Client.Vehicle;
|
||||||
|
|
||||||
public sealed class VehicleSystem : SharedVehicleSystem
|
public sealed partial class VehicleSystem : SharedVehicleSystem
|
||||||
{
|
{
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Prototypes;
|
|||||||
namespace Content.Client._Wega.VeilCult.UI;
|
namespace Content.Client._Wega.VeilCult.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class EnchantBoundUserInterface : BoundUserInterface
|
public sealed partial class EnchantBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private EnchantWindow? _window;
|
private EnchantWindow? _window;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.VeilCult.UI;
|
namespace Content.Client._Wega.VeilCult.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class TeleportEnchantBoundUserInterface : BoundUserInterface
|
public sealed partial class TeleportEnchantBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
// Copy of TeleportLocationsUI for Teleportation enchantment
|
// Copy of TeleportLocationsUI for Teleportation enchantment
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.VeilCult.UI;
|
namespace Content.Client._Wega.VeilCult.UI;
|
||||||
|
|
||||||
public sealed class VeilAltarBoundUserInterface : BoundUserInterface
|
public sealed partial class VeilAltarBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private VeilAltarMenu? _menu;
|
private VeilAltarMenu? _menu;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.VeilCult.UI;
|
namespace Content.Client._Wega.VeilCult.UI;
|
||||||
|
|
||||||
public sealed class VeilBeaconBoundUserInterface : BoundUserInterface
|
public sealed partial class VeilBeaconBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private VeilBeaconWindow? _window;
|
private VeilBeaconWindow? _window;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.Veil.Cult
|
namespace Content.Client.Veil.Cult
|
||||||
{
|
{
|
||||||
public sealed class VeilCultSystem : SharedVeilCultSystem
|
public sealed partial class VeilCultSystem : SharedVeilCultSystem
|
||||||
{
|
{
|
||||||
[Dependency] private IPrototypeManager _prototype = default!;
|
[Dependency] private IPrototypeManager _prototype = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.VentCraw;
|
namespace Content.Client.VentCraw;
|
||||||
|
|
||||||
public sealed class VentCrawVisionSystem : EntitySystem
|
public sealed partial class VentCrawVisionSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IGameTiming _timing = default!;
|
[Dependency] private IGameTiming _timing = default!;
|
||||||
[Dependency] private IPlayerManager _player = default!;
|
[Dependency] private IPlayerManager _player = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Client.Visuals;
|
namespace Content.Client.Visuals;
|
||||||
|
|
||||||
public sealed class FadeSystem : EntitySystem
|
public sealed partial class FadeSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private IGameTiming _gameTiming = default!;
|
[Dependency] private IGameTiming _gameTiming = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Content.Client.Visuals;
|
|||||||
/// A visual system is necessary to optimize the process of creating and displaying a visual, without creating a of different visual systems.
|
/// A visual system is necessary to optimize the process of creating and displaying a visual, without creating a of different visual systems.
|
||||||
/// Only for integration via code.
|
/// Only for integration via code.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class VisualStateSystem : VisualizerSystem<VisualStateComponent>
|
public sealed partial class VisualStateSystem : VisualizerSystem<VisualStateComponent>
|
||||||
{
|
{
|
||||||
[Dependency] private SharedItemSystem _item = default!;
|
[Dependency] private SharedItemSystem _item = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.Prototypes;
|
|||||||
namespace Content.Client._Wega.Voucher;
|
namespace Content.Client._Wega.Voucher;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class VoucherBoundUserInterface : BoundUserInterface
|
public sealed partial class VoucherBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private IEntityManager _entMan = default!;
|
[Dependency] private IEntityManager _entMan = default!;
|
||||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Xenobiology;
|
namespace Content.Client._Wega.Xenobiology;
|
||||||
|
|
||||||
public sealed class CellSystem : SharedCellSystem;
|
public sealed partial class CellSystem : SharedCellSystem;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Xenobiology;
|
namespace Content.Client._Wega.Xenobiology;
|
||||||
|
|
||||||
public sealed class CellVisualsSystem : SharedCellVisualsSystem
|
public sealed partial class CellVisualsSystem : SharedCellVisualsSystem
|
||||||
{
|
{
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Client.GameObjects;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Xenobiology;
|
namespace Content.Client._Wega.Xenobiology;
|
||||||
|
|
||||||
public sealed class SlimeVisualSystem : SharedSlimeVisualSystem
|
public sealed partial class SlimeVisualSystem : SharedSlimeVisualSystem
|
||||||
{
|
{
|
||||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||||
[Dependency] private SpriteSystem _sprite = default!;
|
[Dependency] private SpriteSystem _sprite = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Xenobiology.UI;
|
namespace Content.Client._Wega.Xenobiology.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class CellSequencerBoundUserInterface : BoundUserInterface
|
public sealed partial class CellSequencerBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private CellSequencerWindow? _window;
|
private CellSequencerWindow? _window;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Client.UserInterface;
|
|||||||
|
|
||||||
namespace Content.Client._Wega.Xenobiology.UI;
|
namespace Content.Client._Wega.Xenobiology.UI;
|
||||||
|
|
||||||
public sealed class CellularFusionBoundUserInterface : BoundUserInterface
|
public sealed partial class CellularFusionBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private CellularFusionWindow? _window;
|
private CellularFusionWindow? _window;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface;
|
|||||||
namespace Content.Client._Wega.Xenobiology.UI;
|
namespace Content.Client._Wega.Xenobiology.UI;
|
||||||
|
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public sealed class SlimeAnalyzerBoundUserInterface : BoundUserInterface
|
public sealed partial class SlimeAnalyzerBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
private SlimeAnalyzerWindow? _window;
|
private SlimeAnalyzerWindow? _window;
|
||||||
|
|||||||
@@ -41,12 +41,12 @@ public sealed partial class DragonSystem : EntitySystem
|
|||||||
[Dependency] private GibbingSystem _gibbing = default!;
|
[Dependency] private GibbingSystem _gibbing = default!;
|
||||||
[Dependency] private SmokeSystem _smoke = default!;
|
[Dependency] private SmokeSystem _smoke = default!;
|
||||||
// Corvax-Wega-DragonPushSkill-start
|
// Corvax-Wega-DragonPushSkill-start
|
||||||
[Dependency] private readonly IRobustRandom _random = default!;
|
[Dependency] private IRobustRandom _random = default!;
|
||||||
[Dependency] private readonly TileSystem _tile = default!;
|
[Dependency] private TileSystem _tile = default!;
|
||||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
[Dependency] private IEntityManager _entityManager = default!;
|
||||||
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
|
[Dependency] private EntityLookupSystem _entityLookup = default!;
|
||||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
[Dependency] private SharedPhysicsSystem _physics = default!;
|
||||||
[Dependency] private readonly SharedStunSystem _stun = default!;
|
[Dependency] private SharedStunSystem _stun = default!;
|
||||||
// Corvax-Wega-DragonPushSkill-end
|
// Corvax-Wega-DragonPushSkill-end
|
||||||
|
|
||||||
[Dependency] private EntityQuery<CarpRiftsConditionComponent> _carpRiftsConditionQuery = default!;
|
[Dependency] private EntityQuery<CarpRiftsConditionComponent> _carpRiftsConditionQuery = default!;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace Content.Server.Explosion.EntitySystems;
|
|||||||
|
|
||||||
public sealed partial class ExplosionSystem
|
public sealed partial class ExplosionSystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly SurgerySystem _surgery = default!; // Corvax-Wega-Surgery
|
[Dependency] private SurgerySystem _surgery = default!; // Corvax-Wega-Surgery
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to limit explosion processing time. See <see cref="MaxProcessingTime"/>.
|
/// Used to limit explosion processing time. See <see cref="MaxProcessingTime"/>.
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ using Content.Shared.Inventory; // Corvax-Wega-Record
|
|||||||
using Content.Shared.PDA; // Corvax-Wega-Record
|
using Content.Shared.PDA; // Corvax-Wega-Record
|
||||||
using Content.Shared.StationRecords;
|
using Content.Shared.StationRecords;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
|
using Robust.Shared.Audio.Systems;
|
||||||
using Robust.Shared.Timing; // Corvax-Wega-Record
|
using Robust.Shared.Timing; // Corvax-Wega-Record
|
||||||
|
|
||||||
namespace Content.Server.StationRecords.Systems;
|
namespace Content.Server.StationRecords.Systems;
|
||||||
@@ -17,6 +18,7 @@ public sealed partial class GeneralStationRecordConsoleSystem : EntitySystem
|
|||||||
[Dependency] private UserInterfaceSystem _ui = default!;
|
[Dependency] private UserInterfaceSystem _ui = default!;
|
||||||
[Dependency] private StationSystem _station = default!;
|
[Dependency] private StationSystem _station = default!;
|
||||||
[Dependency] private StationRecordsSystem _stationRecords = default!;
|
[Dependency] private StationRecordsSystem _stationRecords = default!;
|
||||||
|
[Dependency] private SharedAudioSystem _audio = default!; // Corvax-Wega-Record
|
||||||
[Dependency] private StationJobsSystem _stationJobsSystem = default!; // Corvax-Wega-Record
|
[Dependency] private StationJobsSystem _stationJobsSystem = default!; // Corvax-Wega-Record
|
||||||
[Dependency] private PopupSystem _popup = default!; // Corvax-Wega-Record
|
[Dependency] private PopupSystem _popup = default!; // Corvax-Wega-Record
|
||||||
[Dependency] private InventorySystem _inventory = default!; // Corvax-Wega-Record
|
[Dependency] private InventorySystem _inventory = default!; // Corvax-Wega-Record
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Content.Server.Administration.Commands;
|
|||||||
/// What are you looking at here?
|
/// What are you looking at here?
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Permissions)]
|
[AdminCommand(AdminFlags.Permissions)]
|
||||||
public sealed class AchievementsGrantCommand : IConsoleCommand
|
public sealed partial class AchievementsGrantCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||||
@@ -100,7 +100,7 @@ public sealed class AchievementsGrantCommand : IConsoleCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Permissions)]
|
[AdminCommand(AdminFlags.Permissions)]
|
||||||
public sealed class AchievementsRevokeCommand : IConsoleCommand
|
public sealed partial class AchievementsRevokeCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||||
@@ -193,7 +193,7 @@ public sealed class AchievementsRevokeCommand : IConsoleCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Permissions)]
|
[AdminCommand(AdminFlags.Permissions)]
|
||||||
public sealed class AchievementsGrantAllCommand : IConsoleCommand
|
public sealed partial class AchievementsGrantAllCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||||
@@ -248,7 +248,7 @@ public sealed class AchievementsGrantAllCommand : IConsoleCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Permissions)]
|
[AdminCommand(AdminFlags.Permissions)]
|
||||||
public sealed class AchievementsClearCommand : IConsoleCommand
|
public sealed partial class AchievementsClearCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IServerDbManager _db = default!;
|
[Dependency] private IServerDbManager _db = default!;
|
||||||
@@ -293,7 +293,7 @@ public sealed class AchievementsClearCommand : IConsoleCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Admin)]
|
[AdminCommand(AdminFlags.Admin)]
|
||||||
public sealed class AchievementsListCommand : IConsoleCommand
|
public sealed partial class AchievementsListCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Content.Server.Database;
|
|||||||
namespace Content.Server.Administration.Commands;
|
namespace Content.Server.Administration.Commands;
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Permissions)]
|
[AdminCommand(AdminFlags.Permissions)]
|
||||||
public sealed class TimePackCommand : IConsoleCommand
|
public sealed partial class TimePackCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
[Dependency] private IPlayerManager _playerManager = default!;
|
[Dependency] private IPlayerManager _playerManager = default!;
|
||||||
[Dependency] private IServerDbManager _db = default!;
|
[Dependency] private IServerDbManager _db = default!;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Server._Wega.Aliens.Facehugger;
|
namespace Content.Server._Wega.Aliens.Facehugger;
|
||||||
|
|
||||||
public sealed class FacehuggerSystem : EntitySystem
|
public sealed partial class FacehuggerSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private EntityLookupSystem _lookup = default!;
|
[Dependency] private EntityLookupSystem _lookup = default!;
|
||||||
[Dependency] private InventorySystem _inventory = default!;
|
[Dependency] private InventorySystem _inventory = default!;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Content.Server.CoreTempChange.Components;
|
|||||||
|
|
||||||
namespace Content.Server.CoreTempChange.Effects;
|
namespace Content.Server.CoreTempChange.Effects;
|
||||||
|
|
||||||
public sealed class CoreTempChangeSystem : EntitySystem
|
public sealed partial class CoreTempChangeSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AtmosphereSystem _atmosphere = default!;
|
[Dependency] private AtmosphereSystem _atmosphere = default!;
|
||||||
[Dependency] private TransformSystem _xform = default!;
|
[Dependency] private TransformSystem _xform = default!;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Content.Server.Speech.Synthesis.System;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Обрабатывает барки для сущностей.
|
/// Обрабатывает барки для сущностей.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class BarkSystem : EntitySystem
|
public sealed partial class BarkSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AudioSystem _audio = default!;
|
[Dependency] private AudioSystem _audio = default!;
|
||||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public sealed partial class BloodCultSystem
|
|||||||
SubscribeLocalEvent<BloodCultistComponent, BloodCultBloodRitesActionEvent>(OnBloodRites);
|
SubscribeLocalEvent<BloodCultistComponent, BloodCultBloodRitesActionEvent>(OnBloodRites);
|
||||||
|
|
||||||
SubscribeLocalEvent<BloodSpellComponent, UseInHandEvent>(BloodRites);
|
SubscribeLocalEvent<BloodSpellComponent, UseInHandEvent>(BloodRites);
|
||||||
SubscribeLocalEvent<BloodSpellComponent, ExaminedEvent>(OnExamine);
|
SubscribeLocalEvent<BloodSpellComponent, ExaminedEvent>(OnExamine);
|
||||||
SubscribeLocalEvent<BloodSpellComponent, BloodRitesSelectRitesMessage>(BloodRitesSelect);
|
SubscribeLocalEvent<BloodSpellComponent, BloodRitesSelectRitesMessage>(BloodRitesSelect);
|
||||||
SubscribeLocalEvent<BloodCultistComponent, BloodCultBloodOrbActionEvent>(OnBloodOrb);
|
SubscribeLocalEvent<BloodCultistComponent, BloodCultBloodOrbActionEvent>(OnBloodOrb);
|
||||||
SubscribeLocalEvent<BloodOrbComponent, UseInHandEvent>(OnBloodOrbAbsorbed);
|
SubscribeLocalEvent<BloodOrbComponent, UseInHandEvent>(OnBloodOrbAbsorbed);
|
||||||
@@ -386,7 +386,7 @@ public sealed partial class BloodCultSystem
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnExamine(EntityUid uid, BloodSpellComponent spell, ExaminedEvent args)
|
private void OnExamine(EntityUid uid, BloodSpellComponent spell, ExaminedEvent args)
|
||||||
{
|
{
|
||||||
if (spell.SpellType != BloodCultSpell.BloodRites)
|
if (spell.SpellType != BloodCultSpell.BloodRites)
|
||||||
return;
|
return;
|
||||||
@@ -959,7 +959,7 @@ public sealed partial class BloodCultSystem
|
|||||||
var absorbedBlood = 0;
|
var absorbedBlood = 0;
|
||||||
foreach (var containedEntity in container.ContainedEntities.ToList())
|
foreach (var containedEntity in container.ContainedEntities.ToList())
|
||||||
{
|
{
|
||||||
if (!_solution.TryGetSolution(containedEntity, null, out var solutionComp, out var solutionData))
|
if (!_solution.TryGetSolution(containedEntity, "solution", out var solutionComp, out var solutionData))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var bloodReagents = solutionData.Contents
|
var bloodReagents = solutionData.Contents
|
||||||
@@ -975,7 +975,7 @@ public sealed partial class BloodCultSystem
|
|||||||
if (bloodReagents.Count > 0)
|
if (bloodReagents.Count > 0)
|
||||||
Spawn("BloodCultFloorGlowEffect", Transform(puddle).Coordinates);
|
Spawn("BloodCultFloorGlowEffect", Transform(puddle).Coordinates);
|
||||||
|
|
||||||
if (_solution.TryGetSolution(containedEntity, null, out _, out var updatedSolution) && updatedSolution.Contents.Count == 0)
|
if (_solution.TryGetSolution(containedEntity, "solution", out _, out var updatedSolution) && updatedSolution.Contents.Count == 0)
|
||||||
QueueDel(puddle);
|
QueueDel(puddle);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1030,24 +1030,24 @@ public sealed partial class BloodCultSystem
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool TrySpawnSpellInHand(EntityUid uid, EntProtoId proto)
|
private bool TrySpawnSpellInHand(EntityUid uid, EntProtoId proto)
|
||||||
{
|
{
|
||||||
if (!TryComp<HandsComponent>(uid, out var hands))
|
if (!TryComp<HandsComponent>(uid, out var hands))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var spell = Spawn(proto, Transform(uid).Coordinates);
|
var spell = Spawn(proto, Transform(uid).Coordinates);
|
||||||
var activeHand = _hands.GetActiveHand((uid, hands));
|
var activeHand = _hands.GetActiveHand((uid, hands));
|
||||||
|
|
||||||
if (_hands.TryPickupAnyHand(uid, spell))
|
if (_hands.TryPickupAnyHand(uid, spell))
|
||||||
return true;
|
return true;
|
||||||
|
else if (activeHand != null && _hands.TryForcePickup((uid, hands), spell, activeHand))
|
||||||
|
return true;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QueueDel(spell);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
else if (activeHand != null && _hands.TryForcePickup((uid, hands), spell, activeHand))
|
}
|
||||||
return true;
|
|
||||||
|
|
||||||
else
|
|
||||||
QueueDel(spell);
|
|
||||||
return false;
|
|
||||||
|
|
||||||
}
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Server.Blood.Cult.UI;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logic for the blood magic window
|
/// Logic for the blood magic window
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class BloodMagicEui(EntityUid cultist, BloodCultSystem bloodCult) : BaseEui
|
public sealed partial class BloodMagicEui(EntityUid cultist, BloodCultSystem bloodCult) : BaseEui
|
||||||
{
|
{
|
||||||
public override EuiStateBase GetNewState()
|
public override EuiStateBase GetNewState()
|
||||||
=> new BloodMagicState();
|
=> new BloodMagicState();
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ using Content.Shared.PowerCell;
|
|||||||
|
|
||||||
namespace Content.Server.Botany.Systems;
|
namespace Content.Server.Botany.Systems;
|
||||||
|
|
||||||
public sealed class PlantAnalyzerSystem : SharedPlantAnalyzerSystem
|
public sealed partial class PlantAnalyzerSystem : SharedPlantAnalyzerSystem
|
||||||
{
|
{
|
||||||
[Dependency] private BotanySystem _botany = default!;
|
[Dependency] private BotanySystem _botany = default!;
|
||||||
[Dependency] private UserInterfaceSystem _uiSystem = default!;
|
[Dependency] private UserInterfaceSystem _uiSystem = default!;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ using Robust.Shared.Timing;
|
|||||||
|
|
||||||
namespace Content.Server.Card.Tarot;
|
namespace Content.Server.Card.Tarot;
|
||||||
|
|
||||||
public sealed class CardTarotSystem : EntitySystem
|
public sealed partial class CardTarotSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private AppearanceSystem _appearance = default!;
|
[Dependency] private AppearanceSystem _appearance = default!;
|
||||||
[Dependency] private BloodstreamSystem _blood = default!;
|
[Dependency] private BloodstreamSystem _blood = default!;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user