Class CableDeviceNode
Type of node that connects to a CableNode below it.
Inheritance
System.Object
CableDeviceNode
Assembly: Content.Server.dll
Syntax
public class CableDeviceNode : Node
Properties
|
Improve this Doc
View Source
Enabled
If disabled, this cable device will never connect.
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
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