Class PipeNode
Inheritance
System.Object
PipeNode
Assembly: Content.Server.dll
Syntax
public class PipeNode : Node, IGasMixtureHolder, IRotatableNode
Properties
|
Improve this Doc
View Source
Air
Declaration
public GasMixture Air { get; set; }
Property Value
|
Improve this Doc
View Source
ConnectionsEnabled
Whether this node can connect to others or not.
Declaration
public bool ConnectionsEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CurrentPipeDirection
The current pipe directions (accounting for rotation)
Used to check if this pipe can connect to another pipe in a given direction.
Declaration
public PipeDirection CurrentPipeDirection { get; }
Property Value
|
Improve this Doc
View Source
RotationsEnabled
Declaration
public bool RotationsEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Volume
Declaration
public float Volume { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
AddAlwaysReachable(PipeNode)
Declaration
public void AddAlwaysReachable(PipeNode pipeNode)
Parameters
|
Improve this Doc
View Source
Connectable(IEntityManager, Nullable<TransformComponent>)
Declaration
public override bool Connectable(IEntityManager entMan, TransformComponent? xform = null)
Parameters
Type |
Name |
Description |
IEntityManager |
entMan |
|
System.Nullable<TransformComponent> |
xform |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetReachableNodes(TransformComponent, EntityQuery<NodeContainerComponent>, EntityQuery<TransformComponent>, MapGridComponent, IEntityManager)
Declaration
public override IEnumerable<Node> GetReachableNodes(TransformComponent xform, EntityQuery<NodeContainerComponent> nodeQuery, EntityQuery<TransformComponent> xformQuery, MapGridComponent grid, IEntityManager entMan)
Parameters
Type |
Name |
Description |
TransformComponent |
xform |
|
EntityQuery<NodeContainerComponent> |
nodeQuery |
|
EntityQuery<TransformComponent> |
xformQuery |
|
Robust.Shared.Map.Components.MapGridComponent |
grid |
|
IEntityManager |
entMan |
|
Returns
Type |
Description |
IEnumerable<Node> |
|
Overrides
|
Improve this Doc
View Source
Initialize(EntityUid, IEntityManager)
Declaration
public override void Initialize(EntityUid owner, IEntityManager entMan)
Parameters
Type |
Name |
Description |
EntityUid |
owner |
|
IEntityManager |
entMan |
|
Overrides
|
Improve this Doc
View Source
OnAnchorStateChanged(IEntityManager, Boolean)
Declaration
public override void OnAnchorStateChanged(IEntityManager entityManager, bool anchored)
Parameters
Type |
Name |
Description |
IEntityManager |
entityManager |
|
System.Boolean |
anchored |
|
Overrides
|
Improve this Doc
View Source
PipesInDirection(Vector2i, PipeDirection, MapGridComponent, EntityQuery<NodeContainerComponent>)
Gets the pipes from entities on the tile adjacent in a direction.
Declaration
protected IEnumerable<PipeNode> PipesInDirection(Vector2i pos, PipeDirection pipeDir, MapGridComponent grid, EntityQuery<NodeContainerComponent> nodeQuery)
Parameters
Returns
|
Improve this Doc
View Source
RemoveAlwaysReachable(PipeNode)
Declaration
public void RemoveAlwaysReachable(PipeNode pipeNode)
Parameters
Explicit Interface Implementations
|
Improve this Doc
View Source
IRotatableNode.RotateNode(MoveEvent)
Declaration
bool IRotatableNode.RotateNode(in MoveEvent ev)
Parameters
Type |
Name |
Description |
MoveEvent |
ev |
|
Returns
Type |
Description |
System.Boolean |
|
Implements