Class MyObjectBuilder_ShipConnector
Inheritance
System.Object
MyObjectBuilder_ShipConnector
Assembly: SpaceEngineers.ObjectBuilders.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_ShipConnector : MyObjectBuilder_FunctionalBlock
Constructors
MyObjectBuilder_ShipConnector()
Declaration
public MyObjectBuilder_ShipConnector()
Fields
AutoUnlockTime
Declaration
public float AutoUnlockTime
Field Value
Type |
Description |
System.Single |
|
CollectAll
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Connected
When ConnectedEntityId is not null, this tells whether the connection is only approach (yellow) or locked connection (green)
Declaration
[NoSerialize]
public bool Connected
Field Value
Type |
Description |
System.Boolean |
|
ConnectedEntityId
Declaration
public long ConnectedEntityId
Field Value
Type |
Description |
System.Int64 |
|
DefaultStrength
Declaration
public const float DefaultStrength = 0.00015F
Field Value
Type |
Description |
System.Single |
|
Inventory
Declaration
[Nullable]
public MyObjectBuilder_Inventory Inventory
Field Value
IsApproaching
Declaration
public bool IsApproaching
Field Value
Type |
Description |
System.Boolean |
|
IsConnecting
Declaration
Field Value
Type |
Description |
System.Boolean |
|
IsMaster
Declaration
public Nullable<bool> IsMaster
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
IsParkingEnabled
Declaration
public bool IsParkingEnabled
Field Value
Type |
Description |
System.Boolean |
|
IsPowerTransferOverrideEnabled
Declaration
public bool IsPowerTransferOverrideEnabled
Field Value
Type |
Description |
System.Boolean |
|
MasterToSlaveGrid
Declaration
[Serialize]
public Nullable<MyDeltaTransform> MasterToSlaveGrid
Field Value
Type |
Description |
System.Nullable<VRage.MyDeltaTransform> |
|
Master is connector with higher EntityId
Declaration
public Nullable<MyPositionAndOrientation> MasterToSlaveTransform
Field Value
Type |
Description |
System.Nullable<VRage.MyPositionAndOrientation> |
|
Strength
Declaration
Field Value
Type |
Description |
System.Single |
|
ThrowOut
Declaration
Field Value
Type |
Description |
System.Boolean |
|
TimeOfConnection
Declaration
public int TimeOfConnection
Field Value
Type |
Description |
System.Int32 |
|
TradingEnabled
Declaration
public bool TradingEnabled
Field Value
Type |
Description |
System.Boolean |
|
Methods
Remap(IMyRemapHelper)
Declaration
public override void Remap(IMyRemapHelper remapHelper)
Parameters
Overrides
SetupForProjector()
Declaration
public override void SetupForProjector()
Overrides
ShouldSerializeConnected()
Declaration
public bool ShouldSerializeConnected()
Returns
Type |
Description |
System.Boolean |
|
ShouldSerializeConnectedEntityId()
Declaration
public bool ShouldSerializeConnectedEntityId()
Returns
Type |
Description |
System.Boolean |
|
Extension Methods