Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.ModAPI.Ingame.IMyConveyorSorter Interface Reference
Inheritance diagram for Sandbox.ModAPI.Ingame.IMyConveyorSorter:
Sandbox.ModAPI.Ingame.IMyFunctionalBlock Sandbox.ModAPI.Ingame.IMyTerminalBlock Sandbox.ModAPI.Ingame.IMyTerminalBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.Game.Entities.MyConveyorSorter Sandbox.ModAPI.IMyConveyorSorter

Public Member Functions

void GetFilterList (List< MyInventoryItemFilter > items)
 Gets the items currently being allowed through or rejected, depending on the Mode. More...
 
void AddItem (MyInventoryItemFilter item)
 Adds a single item to the filter list. See SetFilter to change the filter mode and/or fill the entire list in one go. More...
 
void RemoveItem (MyInventoryItemFilter item)
 Removes a single item from the filter list. See SetFilter to change the filter mode and/or clear the entire list in one go. More...
 
bool IsAllowed (MyDefinitionId id)
 Determines whether a given item type is allowed through the sorter, depending on the filter list (GetFilterList) and Mode. More...
 
void SetFilter (MyConveyorSorterMode mode, List< MyInventoryItemFilter > items)
 Changes the sorter to desired mode and filters the provided items. You can pass in null to empty the list. More...
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
void RequestEnable (bool enable)
 
void RequestEnable (bool enable)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
void SearchActionsOfName (string name, List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
Sandbox.ModAPI.Interfaces.ITerminalAction GetActionWithName (string name)
 
Sandbox.ModAPI.Interfaces.ITerminalProperty GetProperty (string id)
 
void GetProperties (List< Sandbox.ModAPI.Interfaces.ITerminalProperty > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalProperty, bool > collect=null)
 
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void RequestShowOnHUD (bool enable)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
string GetOwnerFactionTag ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner (long playerId)
 
void UpdateIsWorking ()
 
void UpdateVisual ()
 

Properties

bool DrainAll [get, set]
 Determines whether the sorter should drain any inventories connected to it and push them to the other side - as long as the items passes the filtering as defined by the filter list (GetFilterList) and Mode. More...
 
MyConveyorSorterMode Mode [get]
 Determines the current mode of this sorter. Use SetWhitelist or SetBlacklist to change the mode. More...
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
bool Enabled [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
string CustomName [get]
 
string CustomNameWithFaction [get]
 
string DetailedInfo [get]
 
string CustomInfo [get]
 
string CustomData [get, set]
 Gets or sets the Custom Data string. NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent More...
 
bool ShowOnHUD [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Sandbox.Common.ObjectBuilders.Definitions.SerializableDefinitionId BlockDefinition [get]
 
bool CheckConnectionAllowed [get]
 
IMyCubeGrid CubeGrid [get]
 
String DefinitionDisplayNameText [get]
 
float DisassembleRatio [get]
 
String DisplayNameText [get]
 
bool IsBeingHacked [get]
 
bool IsFunctional [get]
 
bool IsWorking [get]
 
VRageMath.Vector3I Max [get]
 
VRageMath.Vector3I Min [get]
 
int NumberInGrid [get]
 
VRageMath.MyBlockOrientation Orientation [get]
 
long OwnerId [get]
 
VRageMath.Vector3I Position [get]
 

Additional Inherited Members

- Events inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
Action< IMyTerminalBlockEnabledChanged
 
- Events inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
Action< IMyTerminalBlockCustomNameChanged
 
Action< IMyTerminalBlockOwnershipChanged
 
Action< IMyTerminalBlockPropertiesChanged
 
Action< IMyTerminalBlockShowOnHUDChanged
 
Action< IMyTerminalBlockVisibilityChanged
 
- Events inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Action< IMyCubeBlockIsWorkingChanged
 

Detailed Description

Definition at line 57 of file IMyConveyorSorter.cs.

Member Function Documentation

void Sandbox.ModAPI.Ingame.IMyConveyorSorter.AddItem ( MyInventoryItemFilter  item)

Adds a single item to the filter list. See SetFilter to change the filter mode and/or fill the entire list in one go.

Parameters
item
void Sandbox.ModAPI.Ingame.IMyConveyorSorter.GetFilterList ( List< MyInventoryItemFilter items)

Gets the items currently being allowed through or rejected, depending on the Mode.

Parameters
items
bool Sandbox.ModAPI.Ingame.IMyConveyorSorter.IsAllowed ( MyDefinitionId  id)

Determines whether a given item type is allowed through the sorter, depending on the filter list (GetFilterList) and Mode.

Parameters
id
Returns

Implemented in Sandbox.Game.Entities.MyConveyorSorter.

void Sandbox.ModAPI.Ingame.IMyConveyorSorter.RemoveItem ( MyInventoryItemFilter  item)

Removes a single item from the filter list. See SetFilter to change the filter mode and/or clear the entire list in one go.

Parameters
item
void Sandbox.ModAPI.Ingame.IMyConveyorSorter.SetFilter ( MyConveyorSorterMode  mode,
List< MyInventoryItemFilter items 
)

Changes the sorter to desired mode and filters the provided items. You can pass in null to empty the list.

Parameters
mode
items

Property Documentation

bool Sandbox.ModAPI.Ingame.IMyConveyorSorter.DrainAll
getset

Determines whether the sorter should drain any inventories connected to it and push them to the other side - as long as the items passes the filtering as defined by the filter list (GetFilterList) and Mode.

Definition at line 63 of file IMyConveyorSorter.cs.

MyConveyorSorterMode Sandbox.ModAPI.Ingame.IMyConveyorSorter.Mode
get

Determines the current mode of this sorter. Use SetWhitelist or SetBlacklist to change the mode.

Definition at line 68 of file IMyConveyorSorter.cs.


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