|
| MyConveyorLine () |
|
MyObjectBuilder_ConveyorLine | GetObjectBuilder () |
|
void | Init (MyObjectBuilder_ConveyorLine objectBuilder, MyCubeGrid cubeGrid) |
|
void | Init (ConveyorLinePosition endpoint1, ConveyorLinePosition endpoint2, MyCubeGrid cubeGrid, MyObjectBuilder_ConveyorLine.LineType type, MyObjectBuilder_ConveyorLine.LineConductivity conductivity=MyObjectBuilder_ConveyorLine.LineConductivity.FULL, Vector3I?corner=null) |
|
void | InitEndpoints (IMyConveyorEndpoint endpoint1, IMyConveyorEndpoint endpoint2) |
|
IMyConveyorEndpoint | GetEndpoint (int index) |
|
void | SetEndpoint (int index, IMyConveyorEndpoint endpoint) |
|
ConveyorLinePosition | GetEndpointPosition (int index) |
|
void | RecalculateConductivity () |
|
void | Merge (MyConveyorLine mergingLine, IMyConveyorSegmentBlock newlyAddedBlock=null) |
| Merges the other line into this line More...
|
|
void | MergeInternal (MyConveyorLine mergingLine, IMyConveyorSegmentBlock newlyAddedBlock=null) |
|
bool | CheckSectionConsistency () |
|
void | Reverse () |
| Helper method that reverses the direction of the line. This method serves as a helper for the merging and splitting methods and should be relatively quick, because each added or removed conveyor block will trigger line merging or splitting. Once this won't be the case, consider refactoring the places from where this method is called. More...
|
|
void | DisconnectEndpoint (IMyConveyorEndpoint endpoint) |
|
IEnumerator< Vector3I > | GetEnumerator () |
|
float | GetWeight () |
|
IMyConveyorEndpoint | GetOtherVertex (IMyConveyorEndpoint endpoint) |
|
override string | ToString () |
|
MyConveyorLine | RemovePortion (Vector3I startPosition, Vector3I endPosition) |
| Returns a conveyor line that is newly created by removing a segment in position "position" More...
|
|
void | StopQueuesIfNeeded () |
|
void | Update () |
|
void | BigUpdate () |
|
void | UpdateIsFunctional () |
|
void | UpdateIsWorking () |
|
void | PrepareForDraw (MyCubeGrid grid) |
|
void | DebugDraw (MyCubeGrid grid) |
|
void | DebugDrawPackets () |
|
float | GetWeight () |
|
V | GetOtherVertex (V vertex1) |
| Returns the other vertex on this edge. Can return null, if the edge is a loop or if the edge is not traversable More...
|
|
Definition at line 37 of file MyConveyorLine.cs.
Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.MyConveyorLine |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.BigUpdate |
( |
| ) |
|
|
inline |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.CheckSectionConsistency |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.DebugDraw |
( |
MyCubeGrid |
grid | ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.DebugDrawPackets |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.DisconnectEndpoint |
( |
IMyConveyorEndpoint |
endpoint | ) |
|
|
inline |
ConveyorLinePosition Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.GetEndpointPosition |
( |
int |
index | ) |
|
|
inline |
IEnumerator<Vector3I> Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.GetEnumerator |
( |
| ) |
|
|
inline |
float Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.GetWeight |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.PrepareForDraw |
( |
MyCubeGrid |
grid | ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.RecalculateConductivity |
( |
| ) |
|
|
inline |
Returns a conveyor line that is newly created by removing a segment in position "position"
Definition at line 970 of file MyConveyorLine.cs.
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.Reverse |
( |
| ) |
|
|
inline |
Helper method that reverses the direction of the line. This method serves as a helper for the merging and splitting methods and should be relatively quick, because each added or removed conveyor block will trigger line merging or splitting. Once this won't be the case, consider refactoring the places from where this method is called.
Definition at line 861 of file MyConveyorLine.cs.
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.SetEndpoint |
( |
int |
index, |
|
|
IMyConveyorEndpoint |
endpoint |
|
) |
| |
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.StopQueuesIfNeeded |
( |
| ) |
|
|
inline |
override string Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.ToString |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.Update |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.UpdateIsFunctional |
( |
| ) |
|
|
inline |
void Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.UpdateIsWorking |
( |
| ) |
|
|
inline |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.HasNullEndpoints |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsCircular |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsDegenerate |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsDisconnected |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsEmpty |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsFunctional |
|
get |
bool Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.IsWorking |
|
get |
int Sandbox.Game.GameSystems.Conveyors.MyConveyorLine.Length |
|
get |
The documentation for this class was generated from the following file: