Space Engineers
Classes | Public Member Functions | Protected Member Functions | List of all members
Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint Class Reference
Inheritance diagram for Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint:
Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint Sandbox.Game.GameSystems.Conveyors.IMyConveyorEndpoint VRage.Algorithms.IMyPathVertex< IMyConveyorEndpoint >

Public Member Functions

 MyAttachableConveyorEndpoint (MyCubeBlock block)
 
void Attach (MyAttachableConveyorEndpoint other)
 
void Detach (MyAttachableConveyorEndpoint other)
 
void DetachAll ()
 
bool AlreadyAttachedTo (MyAttachableConveyorEndpoint other)
 
bool AlreadyAttached ()
 
- Public Member Functions inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
 MyMultilineConveyorEndpoint (MyCubeBlock myBlock)
 
ConveyorLinePosition PositionToGridCoords (ConveyorLinePosition position)
 
MyConveyorLine GetConveyorLine (ConveyorLinePosition position)
 Returns a connecting line for the given line position, or null, if no such line exists More...
 
ConveyorLinePosition GetPosition (int index)
 
MyConveyorLine GetConveyorLine (int index)
 
void SetConveyorLine (ConveyorLinePosition position, MyConveyorLine newLine)
 Changes a conveyor line of this block More...
 
int GetLineCount ()
 
ConveyorLineEnumerator GetEnumeratorInternal ()
 
void DebugDraw ()
 
- Public Member Functions inherited from VRage.Algorithms.IMyPathVertex< IMyConveyorEndpoint >
float EstimateDistanceTo (IMyPathVertex< V > other)
 Heuristic on the shortest path to another vertex. Used for finding the shortest path. More...
 
int GetNeighborCount ()
 Returns the number of neighbouring vertices. More...
 
IMyPathVertex< V > GetNeighbor (int index)
 Gets N-th neighbor of this vertex. Must be consistent with the order in which IEnumerable<IMyPathEdge<V>> traverses the neighbors More...
 
IMyPathEdge< V > GetEdge (int index)
 Gets N-th edge of this vertex. Must be consistent with the GetNeighbor() function. More...
 

Protected Member Functions

override int GetNeighborCount ()
 
override IMyPathVertex< IMyConveyorEndpointGetNeighbor (int index)
 
override IMyPathEdge< IMyConveyorEndpointGetEdge (int index)
 
- Protected Member Functions inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
ConveyorLinePosition[] GetLinePositions ()
 
void UpdateLineFunctionality ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
static ConveyorLinePosition PositionToGridCoords (ConveyorLinePosition position, MyCubeBlock cubeBlock)
 
static ConveyorLinePosition[] GetLinePositions (MyCubeBlock cubeBlock, string dummyName)
 
static ConveyorLinePosition[] GetLinePositions (MyCubeBlock cubeBlock, IDictionary< string, MyModelDummy > dummies, string dummyName)
 
- Protected Attributes inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
MyConveyorLine[] m_conveyorLines
 
- Static Protected Attributes inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
static Dictionary< MyDefinitionId, ConveyorLinePosition[]> m_linePositions = new Dictionary<MyDefinitionId, ConveyorLinePosition[]>()
 
- Properties inherited from Sandbox.Game.GameSystems.Conveyors.MyMultilineConveyorEndpoint
MyCubeBlock CubeBlock [get]
 
- Properties inherited from Sandbox.Game.GameSystems.Conveyors.IMyConveyorEndpoint
MyCubeBlock CubeBlock [get]
 
- Properties inherited from VRage.Algorithms.IMyPathVertex< IMyConveyorEndpoint >
MyPathfindingData PathfindingData [get]
 

Detailed Description

Definition at line 12 of file MyAttachableConveyorEndpoint.cs.

Constructor & Destructor Documentation

Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.MyAttachableConveyorEndpoint ( MyCubeBlock  block)
inline

Definition at line 46 of file MyAttachableConveyorEndpoint.cs.

Member Function Documentation

bool Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.AlreadyAttached ( )
inline

Definition at line 111 of file MyAttachableConveyorEndpoint.cs.

bool Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.AlreadyAttachedTo ( MyAttachableConveyorEndpoint  other)
inline

Definition at line 101 of file MyAttachableConveyorEndpoint.cs.

void Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.Attach ( MyAttachableConveyorEndpoint  other)
inline

Definition at line 52 of file MyAttachableConveyorEndpoint.cs.

void Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.Detach ( MyAttachableConveyorEndpoint  other)
inline

Definition at line 60 of file MyAttachableConveyorEndpoint.cs.

void Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.DetachAll ( )
inline

Definition at line 74 of file MyAttachableConveyorEndpoint.cs.

override IMyPathEdge<IMyConveyorEndpoint> Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.GetEdge ( int  index)
inlineprotectedvirtual
override IMyPathVertex<IMyConveyorEndpoint> Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.GetNeighbor ( int  index)
inlineprotectedvirtual
override int Sandbox.Game.GameSystems.Conveyors.MyAttachableConveyorEndpoint.GetNeighborCount ( )
inlineprotectedvirtual

The documentation for this class was generated from the following file: