Add UsedImplicitly to visualizers and entity systems (#2592)
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using Content.Shared.GameObjects.Components.Atmos;
|
using Content.Shared.GameObjects.Components.Atmos;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
@@ -6,6 +7,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Atmos
|
namespace Content.Client.GameObjects.Components.Atmos
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class GasAnalyzerVisualizer : AppearanceVisualizer
|
public class GasAnalyzerVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string _stateOff;
|
private string _stateOff;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using static Content.Shared.GameObjects.Components.Medical.SharedCloningPodComponent;
|
using static Content.Shared.GameObjects.Components.Medical.SharedCloningPodComponent;
|
||||||
@@ -6,6 +7,7 @@ using static Content.Shared.GameObjects.Components.Medical.SharedCloningPodCompo
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.CloningPod
|
namespace Content.Client.GameObjects.Components.CloningPod
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class CloningPodVisualizer : AppearanceVisualizer
|
public class CloningPodVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
@@ -7,6 +8,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components
|
namespace Content.Client.GameObjects.Components
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class ComputerVisualizer : AppearanceVisualizer
|
public sealed class ComputerVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string KeyboardState = "generic_key";
|
private string KeyboardState = "generic_key";
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Maths;
|
using Robust.Shared.Maths;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Crayon
|
namespace Content.Client.GameObjects.Components.Crayon
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class CrayonDecalVisualizer : AppearanceVisualizer
|
public class CrayonDecalVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components
|
namespace Content.Client.GameObjects.Components
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ExtinguisherCabinetVisualizer : AppearanceVisualizer
|
public class ExtinguisherCabinetVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Content.Shared.GameObjects.Components.Fluids;
|
using Content.Shared.GameObjects.Components.Fluids;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
@@ -6,6 +7,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Fluids
|
namespace Content.Client.GameObjects.Components.Fluids
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class SprayVisualizer : AppearanceVisualizer
|
public class SprayVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string _safetyOnState;
|
private string _safetyOnState;
|
||||||
|
|||||||
@@ -5,10 +5,12 @@ using Robust.Shared.Interfaces.GameObjects;
|
|||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using YamlDotNet.RepresentationModel;
|
using YamlDotNet.RepresentationModel;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Gravity
|
namespace Content.Client.GameObjects.Components.Gravity
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class GravityGeneratorVisualizer : AppearanceVisualizer
|
public class GravityGeneratorVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private readonly Dictionary<GravityGeneratorStatus, string> _spriteMap = new();
|
private readonly Dictionary<GravityGeneratorStatus, string> _spriteMap = new();
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Content.Shared.Chemistry;
|
using Content.Shared.Chemistry;
|
||||||
using Content.Shared.Kitchen;
|
using Content.Shared.Kitchen;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Client.Graphics;
|
using Robust.Client.Graphics;
|
||||||
@@ -19,7 +20,8 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Kitchen
|
namespace Content.Client.GameObjects.Components.Kitchen
|
||||||
{
|
{
|
||||||
public class MicrowaveBoundUserInterface : BoundUserInterface
|
[UsedImplicitly]
|
||||||
|
public class MicrowaveBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ using Content.Client.GameObjects.Components.Sound;
|
|||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
using Content.Shared.GameObjects.Components.Sound;
|
using Content.Shared.GameObjects.Components.Sound;
|
||||||
using Content.Shared.Kitchen;
|
using Content.Shared.Kitchen;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Audio;
|
using Robust.Shared.Audio;
|
||||||
@@ -10,6 +11,7 @@ using Robust.Shared.Log;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Kitchen
|
namespace Content.Client.GameObjects.Components.Kitchen
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class MicrowaveVisualizer : AppearanceVisualizer
|
public sealed class MicrowaveVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Animations;
|
using Robust.Client.Animations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.Animations;
|
using Robust.Client.GameObjects.Components.Animations;
|
||||||
@@ -119,7 +120,8 @@ namespace Content.Client.GameObjects.Components
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A light behaviour that alternates between StartValue and EndValue
|
/// A light behaviour that alternates between StartValue and EndValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PulseBehaviour: LightBehaviourAnimationTrack
|
[UsedImplicitly]
|
||||||
|
public class PulseBehaviour : LightBehaviourAnimationTrack
|
||||||
{
|
{
|
||||||
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
||||||
object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
|
object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
|
||||||
@@ -173,6 +175,7 @@ namespace Content.Client.GameObjects.Components
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A light behaviour that interpolates from StartValue to EndValue
|
/// A light behaviour that interpolates from StartValue to EndValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[UsedImplicitly]
|
||||||
public class FadeBehaviour : LightBehaviourAnimationTrack
|
public class FadeBehaviour : LightBehaviourAnimationTrack
|
||||||
{
|
{
|
||||||
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
||||||
@@ -208,6 +211,7 @@ namespace Content.Client.GameObjects.Components
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A light behaviour that interpolates using random values chosen between StartValue and EndValue.
|
/// A light behaviour that interpolates using random values chosen between StartValue and EndValue.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[UsedImplicitly]
|
||||||
public class RandomizeBehaviour : LightBehaviourAnimationTrack
|
public class RandomizeBehaviour : LightBehaviourAnimationTrack
|
||||||
{
|
{
|
||||||
private object _randomValue1 = default;
|
private object _randomValue1 = default;
|
||||||
@@ -272,6 +276,7 @@ namespace Content.Client.GameObjects.Components
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A light behaviour that cycles through a list of colors.
|
/// A light behaviour that cycles through a list of colors.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[UsedImplicitly]
|
||||||
public class ColorCycleBehaviour : LightBehaviourAnimationTrack
|
public class ColorCycleBehaviour : LightBehaviourAnimationTrack
|
||||||
{
|
{
|
||||||
public List<Color> ColorsToCycle { get; set; }
|
public List<Color> ColorsToCycle { get; set; }
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using static Content.Shared.GameObjects.Components.Medical.SharedMedicalScannerComponent;
|
using static Content.Shared.GameObjects.Components.Medical.SharedMedicalScannerComponent;
|
||||||
@@ -6,6 +7,7 @@ using static Content.Shared.GameObjects.Components.Medical.SharedMedicalScannerC
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.MedicalScanner
|
namespace Content.Client.GameObjects.Components.MedicalScanner
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class MedicalScannerVisualizer : AppearanceVisualizer
|
public class MedicalScannerVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
using Content.Shared.GameObjects.Components.Morgue;
|
using Content.Shared.GameObjects.Components.Morgue;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Morgue
|
namespace Content.Client.GameObjects.Components.Morgue
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class BodyBagVisualizer : AppearanceVisualizer
|
public sealed class BodyBagVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void OnChangeData(AppearanceComponent component)
|
public override void OnChangeData(AppearanceComponent component)
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
using Content.Shared.GameObjects.Components.Morgue;
|
using Content.Shared.GameObjects.Components.Morgue;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
using YamlDotNet.RepresentationModel;
|
using YamlDotNet.RepresentationModel;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Storage
|
namespace Content.Client.GameObjects.Components.Morgue
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class CrematoriumVisualizer : AppearanceVisualizer
|
public sealed class CrematoriumVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string _stateOpen = "";
|
private string _stateOpen = "";
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using Content.Client.GameObjects.EntitySystems;
|
using Content.Client.GameObjects.EntitySystems;
|
||||||
using Content.Client.Utility;
|
using Content.Client.Utility;
|
||||||
using Content.Shared.GameObjects.Components.PDA;
|
using Content.Shared.GameObjects.Components.PDA;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Client.Graphics.Drawing;
|
using Robust.Client.Graphics.Drawing;
|
||||||
using Robust.Client.Interfaces.UserInterface;
|
using Robust.Client.Interfaces.UserInterface;
|
||||||
@@ -17,6 +18,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.PDA
|
namespace Content.Client.GameObjects.Components.PDA
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class PDABoundUserInterface : BoundUserInterface
|
public class PDABoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
using Robust.Shared.GameObjects.Components.UserInterface;
|
using Robust.Shared.GameObjects.Components.UserInterface;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Paper
|
namespace Content.Client.GameObjects.Components.Paper
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class PaperBoundUserInterface : BoundUserInterface
|
public class PaperBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
private PaperWindow _window;
|
private PaperWindow _window;
|
||||||
|
|||||||
@@ -1,24 +1,18 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
using Content.Shared.GameObjects.Components.Singularity;
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Graphics;
|
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
using Robust.Shared.Interfaces.Reflection;
|
|
||||||
using Robust.Shared.Interfaces.Serialization;
|
|
||||||
using Robust.Shared.IoC;
|
|
||||||
using Robust.Shared.Log;
|
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
using Robust.Shared.Serialization;
|
using Robust.Shared.Serialization;
|
||||||
using Robust.Shared.Utility;
|
|
||||||
using YamlDotNet.RepresentationModel;
|
using YamlDotNet.RepresentationModel;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components
|
namespace Content.Client.GameObjects.Components
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ParticleAcceleratorPartVisualizer : AppearanceVisualizer
|
public class ParticleAcceleratorPartVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private readonly Dictionary<ParticleAcceleratorVisualState, string> _states = new();
|
private readonly Dictionary<ParticleAcceleratorVisualState, string> _states = new();
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Content.Shared.GameObjects.Components.Chemistry.ReagentDispenser;
|
||||||
|
using JetBrains.Annotations;
|
||||||
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Shared.GameObjects.Components.UserInterface;
|
using Robust.Shared.GameObjects.Components.UserInterface;
|
||||||
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
|
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power.AME
|
namespace Content.Client.GameObjects.Components.Power.AME
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class AMEControllerBoundUserInterface : BoundUserInterface
|
public class AMEControllerBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
private AMEWindow _window;
|
private AMEWindow _window;
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Robust.Client.GameObjects;
|
using JetBrains.Annotations;
|
||||||
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
|
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power.AME
|
namespace Content.Client.GameObjects.Components.Power.AME
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class AMEControllerVisualizer : AppearanceVisualizer
|
public class AMEControllerVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void InitializeEntity(IEntity entity)
|
public override void InitializeEntity(IEntity entity)
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Robust.Client.GameObjects;
|
using JetBrains.Annotations;
|
||||||
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEShieldComponent;
|
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEShieldComponent;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power.AME
|
namespace Content.Client.GameObjects.Components.Power.AME
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class AMEVisualizer : AppearanceVisualizer
|
public class AMEVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void InitializeEntity(IEntity entity)
|
public override void InitializeEntity(IEntity entity)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Client.UserInterface.Stylesheets;
|
using Content.Client.UserInterface.Stylesheets;
|
||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Client.Graphics.Drawing;
|
using Robust.Client.Graphics.Drawing;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
@@ -10,6 +11,7 @@ using Robust.Shared.Maths;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ApcBoundUserInterface : BoundUserInterface
|
public class ApcBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
private ApcWindow _window;
|
private ApcWindow _window;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
@@ -7,6 +8,7 @@ namespace Content.Client.GameObjects.Components.Power
|
|||||||
{
|
{
|
||||||
public class ApcVisualizer : AppearanceVisualizer
|
public class ApcVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public override void InitializeEntity(IEntity entity)
|
public override void InitializeEntity(IEntity entity)
|
||||||
{
|
{
|
||||||
base.InitializeEntity(entity);
|
base.InitializeEntity(entity);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Animations;
|
using Robust.Client.Animations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.Animations;
|
using Robust.Client.GameObjects.Components.Animations;
|
||||||
@@ -9,6 +10,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class AutolatheVisualizer : AppearanceVisualizer
|
public class AutolatheVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private const string AnimationKey = "autolathe_animation";
|
private const string AnimationKey = "autolathe_animation";
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
using Content.Shared.Utility;
|
using Content.Shared.Utility;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
@@ -8,6 +9,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class PowerCellVisualizer : AppearanceVisualizer
|
public class PowerCellVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string _prefix;
|
private string _prefix;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Animations;
|
using Robust.Client.Animations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.Animations;
|
using Robust.Client.GameObjects.Components.Animations;
|
||||||
@@ -9,6 +10,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ProtolatheVisualizer : AppearanceVisualizer
|
public class ProtolatheVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private const string AnimationKey = "protolathe_animation";
|
private const string AnimationKey = "protolathe_animation";
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class SmesVisualizer : AppearanceVisualizer
|
public class SmesVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
public override void InitializeEntity(IEntity entity)
|
public override void InitializeEntity(IEntity entity)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Shared.GameObjects.Components.Power;
|
using Content.Shared.GameObjects.Components.Power;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects.Components.UserInterface;
|
using Robust.Client.GameObjects.Components.UserInterface;
|
||||||
using Robust.Client.Graphics.Drawing;
|
using Robust.Client.Graphics.Drawing;
|
||||||
using Robust.Client.UserInterface;
|
using Robust.Client.UserInterface;
|
||||||
@@ -12,6 +13,7 @@ using Robust.Shared.Maths;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Power
|
namespace Content.Client.GameObjects.Components.Power
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class SolarControlConsoleBoundUserInterface : BoundUserInterface
|
public class SolarControlConsoleBoundUserInterface : BoundUserInterface
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameTiming _gameTiming = default;
|
[Dependency] private readonly IGameTiming _gameTiming = default;
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Client.GameObjects.Components.Doors;
|
|
||||||
using Content.Client.GameObjects.Components.Wires;
|
|
||||||
using Content.Shared.GameObjects.Components.Doors;
|
|
||||||
using Content.Shared.GameObjects.Components.Singularity;
|
using Content.Shared.GameObjects.Components.Singularity;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Animations;
|
using Robust.Client.Animations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.Animations;
|
using Robust.Client.GameObjects.Components.Animations;
|
||||||
@@ -12,6 +10,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components
|
namespace Content.Client.GameObjects.Components
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class RadiationCollectorVisualizer : AppearanceVisualizer
|
public class RadiationCollectorVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private const string AnimationKey = "radiationcollector_animation";
|
private const string AnimationKey = "radiationcollector_animation";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
@@ -5,6 +6,7 @@ using Robust.Shared.Log;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Singularity
|
namespace Content.Client.GameObjects.Components.Singularity
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ContainmentFieldComponent : Component
|
public class ContainmentFieldComponent : Component
|
||||||
{
|
{
|
||||||
public override string Name => "Containment Field";
|
public override string Name => "Containment Field";
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Shared.GameObjects.Components.Singularity;
|
using Content.Shared.GameObjects.Components.Singularity;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Singularity
|
namespace Content.Client.GameObjects.Components.Singularity
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class EmitterVisualizer : AppearanceVisualizer
|
public class EmitterVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private const string OverlayBeam = "emitter-beam";
|
private const string OverlayBeam = "emitter-beam";
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using Content.Shared.GameObjects.Components.Storage;
|
using Content.Shared.GameObjects.Components.Storage;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.Interfaces.GameObjects.Components;
|
using Robust.Client.Interfaces.GameObjects.Components;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
@@ -8,6 +9,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Storage
|
namespace Content.Client.GameObjects.Components.Storage
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class StorageVisualizer : AppearanceVisualizer
|
public sealed class StorageVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private string _stateBase;
|
private string _stateBase;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Content.Shared.GameObjects.Components.Trigger;
|
using Content.Shared.GameObjects.Components.Trigger;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Animations;
|
using Robust.Client.Animations;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Client.GameObjects.Components.Animations;
|
using Robust.Client.GameObjects.Components.Animations;
|
||||||
@@ -10,6 +11,7 @@ using YamlDotNet.RepresentationModel;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.Components.Trigger
|
namespace Content.Client.GameObjects.Components.Trigger
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class TimerTriggerVisualizer : AppearanceVisualizer
|
public class TimerTriggerVisualizer : AppearanceVisualizer
|
||||||
{
|
{
|
||||||
private const string AnimationKey = "priming_animation";
|
private const string AnimationKey = "priming_animation";
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
using Content.Client.GameObjects.Components.Mobs;
|
using Content.Client.GameObjects.Components.Mobs;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
using Robust.Shared.Interfaces.Timing;
|
using Robust.Shared.Interfaces.Timing;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.EntitySystems
|
namespace Content.Client.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class AlertsSystem : EntitySystem
|
public class AlertsSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
using Content.Client.GameObjects.Components.Mobs;
|
using Content.Client.GameObjects.Components.Mobs;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
|
|
||||||
namespace Content.Client.GameObjects.EntitySystems
|
namespace Content.Client.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class CameraRecoilSystem : EntitySystem
|
public sealed class CameraRecoilSystem : EntitySystem
|
||||||
{
|
{
|
||||||
public override void FrameUpdate(float frameTime)
|
public override void FrameUpdate(float frameTime)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using Content.Client.GameObjects.Components.Actor;
|
using Content.Client.GameObjects.Components.Actor;
|
||||||
using Content.Client.UserInterface;
|
using Content.Client.UserInterface;
|
||||||
using Content.Shared.Input;
|
using Content.Shared.Input;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Player;
|
using Robust.Client.Player;
|
||||||
using Robust.Client.UserInterface.CustomControls;
|
using Robust.Client.UserInterface.CustomControls;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
@@ -9,6 +10,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.EntitySystems
|
namespace Content.Client.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class CharacterInterfaceSystem : EntitySystem
|
public sealed class CharacterInterfaceSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameHud _gameHud = default!;
|
[Dependency] private readonly IGameHud _gameHud = default!;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using Content.Client.GameObjects.Components.HUD.Inventory;
|
using Content.Client.GameObjects.Components.HUD.Inventory;
|
||||||
using Content.Client.UserInterface;
|
using Content.Client.UserInterface;
|
||||||
using Content.Shared.Input;
|
using Content.Shared.Input;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.Player;
|
using Robust.Client.Player;
|
||||||
using Robust.Client.UserInterface.CustomControls;
|
using Robust.Client.UserInterface.CustomControls;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
@@ -9,6 +10,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.EntitySystems
|
namespace Content.Client.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public sealed class ClientInventorySystem : EntitySystem
|
public sealed class ClientInventorySystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameHud _gameHud = default!;
|
[Dependency] private readonly IGameHud _gameHud = default!;
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
namespace Content.Client.GameObjects.EntitySystems
|
|
||||||
{
|
|
||||||
public class ClientNotifySystem
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
using Content.Client.GameObjects.Components.Items;
|
using Content.Client.GameObjects.Components.Items;
|
||||||
using Content.Client.GameObjects.Components.Weapons.Ranged;
|
using Content.Client.GameObjects.Components.Weapons.Ranged;
|
||||||
using Content.Shared.GameObjects.Components.Weapons.Ranged;
|
using Content.Shared.GameObjects.Components.Weapons.Ranged;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Client.GameObjects.EntitySystems;
|
using Robust.Client.GameObjects.EntitySystems;
|
||||||
using Robust.Client.Interfaces.Graphics.ClientEye;
|
using Robust.Client.Interfaces.Graphics.ClientEye;
|
||||||
using Robust.Client.Interfaces.Input;
|
using Robust.Client.Interfaces.Input;
|
||||||
@@ -15,6 +16,7 @@ using Robust.Shared.Map;
|
|||||||
|
|
||||||
namespace Content.Client.GameObjects.EntitySystems
|
namespace Content.Client.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class RangedWeaponSystem : EntitySystem
|
public class RangedWeaponSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -26,12 +26,6 @@ namespace Content.Server.GameObjects.Components.Stack
|
|||||||
{
|
{
|
||||||
private bool _throwIndividually = false;
|
private bool _throwIndividually = false;
|
||||||
|
|
||||||
public override int Count
|
|
||||||
{
|
|
||||||
get => base.Count;
|
|
||||||
set => base.Count = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
[ViewVariables(VVAccess.ReadWrite)]
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
public bool ThrowIndividually
|
public bool ThrowIndividually
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,11 +26,6 @@ namespace Content.Server.GameObjects.Components.Trigger.TimerTrigger
|
|||||||
serializer.DataField(ref _delay, "delay", 0f);
|
serializer.DataField(ref _delay, "delay", 0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Initialize()
|
|
||||||
{
|
|
||||||
base.Initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IUse.UseEntity(UseEntityEventArgs eventArgs)
|
bool IUse.UseEntity(UseEntityEventArgs eventArgs)
|
||||||
{
|
{
|
||||||
var triggerSystem = _entitySystemManager.GetEntitySystem<TriggerSystem>();
|
var triggerSystem = _entitySystemManager.GetEntitySystem<TriggerSystem>();
|
||||||
|
|||||||
@@ -9,11 +9,6 @@ namespace Content.Server.GameObjects.EntitySystems
|
|||||||
{
|
{
|
||||||
private float _accumulatedFrameTime;
|
private float _accumulatedFrameTime;
|
||||||
|
|
||||||
public override void Initialize()
|
|
||||||
{
|
|
||||||
base.Initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
{
|
{
|
||||||
base.Update(frameTime);
|
base.Update(frameTime);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using Content.Shared.GameObjects.EntitySystemMessages;
|
using Content.Shared.GameObjects.EntitySystemMessages;
|
||||||
using Content.Shared.GameObjects.EntitySystems;
|
using Content.Shared.GameObjects.EntitySystems;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Server.Interfaces.Player;
|
using Robust.Server.Interfaces.Player;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
using Robust.Shared.Interfaces.GameObjects;
|
using Robust.Shared.Interfaces.GameObjects;
|
||||||
@@ -9,6 +10,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems.Click
|
namespace Content.Server.GameObjects.EntitySystems.Click
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ExamineSystem : ExamineSystemShared
|
public class ExamineSystem : ExamineSystemShared
|
||||||
{
|
{
|
||||||
private static readonly FormattedMessage _entityNotFoundMessage;
|
private static readonly FormattedMessage _entityNotFoundMessage;
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using Content.Server.Interfaces;
|
using Content.Server.Interfaces;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
internal sealed class DeviceNetworkSystem : EntitySystem
|
internal sealed class DeviceNetworkSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IDeviceNetwork _network = default!;
|
[Dependency] private readonly IDeviceNetwork _network = default!;
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
|
using Content.Server.GameObjects.Components.Interactable;
|
||||||
using Content.Server.GameObjects.Components.Interactable;
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class ExpendableLightSystem : EntitySystem
|
public class ExpendableLightSystem : EntitySystem
|
||||||
{
|
{
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
using Content.Server.GameObjects.Components.Atmos;
|
using Content.Server.GameObjects.Components.Atmos;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class GasAnalyzerSystem : EntitySystem
|
public class GasAnalyzerSystem : EntitySystem
|
||||||
{
|
{
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using Content.Server.GameObjects.Components.NodeContainer.NodeGroups;
|
using Content.Server.GameObjects.Components.NodeContainer.NodeGroups;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class NodeGroupSystem : EntitySystem
|
public class NodeGroupSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly INodeGroupManager _groupManager = default!;
|
[Dependency] private readonly INodeGroupManager _groupManager = default!;
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
using Content.Server.GameObjects.Components.Power.PowerNetComponents;
|
using Content.Server.GameObjects.Components.Power.PowerNetComponents;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class PowerNetSystem : EntitySystem
|
public class PowerNetSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPowerNetManager _powerNetManager = default!;
|
[Dependency] private readonly IPowerNetManager _powerNetManager = default!;
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
using Content.Server.GameObjects.Components.Singularity;
|
using Content.Server.GameObjects.Components.Singularity;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class SingularitySystem : EntitySystem
|
public class SingularitySystem : EntitySystem
|
||||||
{
|
{
|
||||||
private float curTimeSingulo;
|
private float curTimeSingulo;
|
||||||
private float curTimePull;
|
private float curTimePull;
|
||||||
|
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
{
|
{
|
||||||
base.Update(frameTime);
|
base.Update(frameTime);
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
using Content.Server.GameObjects.Components.Chemistry;
|
using Content.Server.GameObjects.Components.Chemistry;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using Robust.Shared.GameObjects.Systems;
|
using Robust.Shared.GameObjects.Systems;
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.EntitySystems
|
namespace Content.Server.GameObjects.EntitySystems
|
||||||
{
|
{
|
||||||
|
[UsedImplicitly]
|
||||||
public class VaporSystem : EntitySystem
|
public class VaporSystem : EntitySystem
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
|
||||||
public override void Update(float frameTime)
|
public override void Update(float frameTime)
|
||||||
{
|
{
|
||||||
foreach (var vaporComp in ComponentManager.EntityQuery<VaporComponent>())
|
foreach (var vaporComp in ComponentManager.EntityQuery<VaporComponent>())
|
||||||
|
|||||||
Reference in New Issue
Block a user