Class MyConveyorSorter
Inheritance
System.Object
Sandbox.Game.Entities.Cube.MySyncedBlock
Sandbox.Game.Entities.Cube.MyTerminalBlock
Sandbox.Game.Entities.Cube.MyFunctionalBlock
MyConveyorSorter
Assembly: Sandbox.Game.dll
Syntax
[MyCubeBlockType]
[MyTerminalInterface]
public class MyConveyorSorter : MyFunctionalBlock, IMyComponentOwner<MyIDModule>, IMyUpgradableBlock, IMyUpgradableBlock, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyTieredUpdateBlock, IMyUpdateTimer, IMyTextSurfaceProvider, IMyMultiTextPanelComponentOwner, IMyTextPanelComponentOwner, IMyConveyorEndpointBlock, IMyConveyorSorter, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyConveyorSorter, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyInventoryOwner
Constructors
MyConveyorSorter()
Declaration
public MyConveyorSorter()
Properties
BlockDefinition
Declaration
public MyConveyorSorterDefinition BlockDefinition { get; }
Property Value
ConveyorEndpoint
Declaration
public IMyConveyorEndpoint ConveyorEndpoint { get; }
Property Value
Type |
Description |
Sandbox.Game.GameSystems.Conveyors.IMyConveyorEndpoint |
|
DrainAll
Declaration
public bool DrainAll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsWhitelist
Declaration
public bool IsWhitelist { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
AllowSelfPulling()
Declaration
public bool AllowSelfPulling()
Returns
Type |
Description |
System.Boolean |
|
ChangeBlWl(Boolean)
Declaration
public void ChangeBlWl(bool IsWl)
Parameters
Type |
Name |
Description |
System.Boolean |
IsWl |
|
CheckIsWorking()
Declaration
protected override bool CheckIsWorking()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.CheckIsWorking()
CreateTerminalControls()
Declaration
protected override void CreateTerminalControls()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.CreateTerminalControls()
GetObjectBuilderCubeBlock(Boolean)
Declaration
public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
Parameters
Type |
Name |
Description |
System.Boolean |
copy |
|
Returns
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.GetObjectBuilderCubeBlock(System.Boolean)
Declaration
public PullInformation GetPullInformation()
Returns
Type |
Description |
Sandbox.Game.GameSystems.Conveyors.PullInformation |
|
Declaration
public PullInformation GetPushInformation()
Returns
Type |
Description |
Sandbox.Game.GameSystems.Conveyors.PullInformation |
|
Init(MyObjectBuilder_CubeBlock, MyCubeGrid)
Declaration
public override void Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
Parameters
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.Init(VRage.Game.MyObjectBuilder_CubeBlock, Sandbox.Game.Entities.MyCubeGrid)
InitializeConveyorEndpoint()
Declaration
public void InitializeConveyorEndpoint()
IsAllowed(MyDefinitionId)
Declaration
public bool IsAllowed(MyDefinitionId itemId)
Parameters
Returns
Type |
Description |
System.Boolean |
|
OnAddedToScene(Object)
Declaration
public override void OnAddedToScene(object source)
Parameters
Type |
Name |
Description |
System.Object |
source |
|
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnAddedToScene(System.Object)
OnEnabledChanged()
Declaration
protected override void OnEnabledChanged()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnEnabledChanged()
OnInventoryComponentAdded(MyInventoryBase)
Declaration
protected override void OnInventoryComponentAdded(MyInventoryBase inventory)
Parameters
Overrides
OnInventoryComponentRemoved(MyInventoryBase)
Declaration
protected override void OnInventoryComponentRemoved(MyInventoryBase inventory)
Parameters
Overrides
UpdateAfterSimulation10()
Declaration
public override void UpdateAfterSimulation10()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateAfterSimulation10()
UpdateDetailedInfo(StringBuilder)
Declaration
protected override void UpdateDetailedInfo(StringBuilder detailedInfo)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
detailedInfo |
|
Overrides
Sandbox.Game.Entities.Cube.MyTerminalBlock.UpdateDetailedInfo(System.Text.StringBuilder)
Explicit Interface Implementations
IMyConveyorSorter.AddItem(MyInventoryItemFilter)
Declaration
void IMyConveyorSorter.AddItem(MyInventoryItemFilter item)
Parameters
IMyConveyorSorter.GetFilterList(List<MyInventoryItemFilter>)
Declaration
void IMyConveyorSorter.GetFilterList(List<MyInventoryItemFilter> items)
Parameters
IMyConveyorSorter.Mode
Declaration
MyConveyorSorterMode IMyConveyorSorter.Mode { get; }
Returns
IMyConveyorSorter.RemoveItem(MyInventoryItemFilter)
Declaration
void IMyConveyorSorter.RemoveItem(MyInventoryItemFilter item)
Parameters
IMyConveyorSorter.SetFilter(MyConveyorSorterMode, List<MyInventoryItemFilter>)
Declaration
void IMyConveyorSorter.SetFilter(MyConveyorSorterMode mode, List<MyInventoryItemFilter> items)
Parameters
IMyInventoryOwner.EntityId
Declaration
long IMyInventoryOwner.EntityId { get; }
Returns
Type |
Description |
System.Int64 |
|
IMyInventoryOwner.GetInventory(Int32)
Declaration
IMyInventory IMyInventoryOwner.GetInventory(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
IMyInventoryOwner.HasInventory
Declaration
bool IMyInventoryOwner.HasInventory { get; }
Returns
Type |
Description |
System.Boolean |
|
IMyInventoryOwner.InventoryCount
Declaration
int IMyInventoryOwner.InventoryCount { get; }
Returns
Type |
Description |
System.Int32 |
|
IMyInventoryOwner.UseConveyorSystem
Declaration
bool IMyInventoryOwner.UseConveyorSystem { get; set; }
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods