* Moved GasMixture to shared * Temp Fix for sandbox violation, idk why Array.Resize isn't working properly. It's already sandboxed. * The most powerful webedit in history
16 lines
413 B
C#
16 lines
413 B
C#
using Content.Shared.Atmos;
|
|
|
|
namespace Content.Server.Atmos.Piping.Binary.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class GasPortComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("pipe")]
|
|
public string PipeName { get; set; } = "connected";
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public GasMixture Buffer { get; } = new();
|
|
}
|
|
}
|