ProtoNetwork
An uninitialized network that is still in creation.
Constructors
Properties
The ProtoNetworkCluster that this ProtoNetwork is a part of.
Whether this ProtoNetwork has been modified since the last network was built from it.
The NetworkNodes within this NetworkData and the BlockFaces through which NetworkEndPoints connect to it.
The type of this NetworkData.
The unique identifier of this NetworkData.
Functions
Adds all ProtoNetwork.nodes of the given ProtoNetwork to this ProtoNetwork. Should only be called for ProtoNetworks of the same type.
Adds a bridge to this ProtoNetwork.
Adds faces to the NetworkEndPoint at endPoint.pos, or adds endPoint and faces to the ProtoNetwork.
Adds face to the NetworkEndPoint at endPoint.pos, or adds endPoint and face to the ProtoNetwork.
Enlarges the cluster using the ProtoNetworks of nodes. Enlarging a cluster also initializes / updates the clusters of all ProtoNetworks that are clustered with it.
Enlarges the cluster using the ProtoNetworks of node. Enlarging a cluster also initializes / updates the clusters of all ProtoNetworks that are clustered with it.
Creates an immutable copy of this ProtoNetwork.
Completely builds the cluster based on nodes. Building a cluster also initializes / updates the clusters of all ProtoNetworks that are clustered with it.
Invalidates the cluster of this ProtoNetwork, requiring it to be rebuilt via initCluster.
Checks whether this ProtoNetwork is empty.
Marks this ProtoNetwork and its cluster as dirty, requiring them to be rebuilt.
Removes all nodes from this NetworkData.
Removes a face through which the NetworkEndPoint at endPoint.pos connects to this ProtoNetwork.
Remove the NetworkNode at node.pos from this ProtoNetwork.