Click or drag to resize
IMyRefinery Interface
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IMyRefinery : IMyProductionBlock, 
	IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity

The IMyRefinery type exposes the following members.

Methods
  NameDescription
Public methodAddQueueItem(MyDefinitionId, Decimal)
Adds a blueprint to the production queue
(Inherited from IMyProductionBlock.)
Public methodAddQueueItem(MyDefinitionId, Double)
Adds a blueprint to the production queue
(Inherited from IMyProductionBlock.)
Public methodAddQueueItem(MyDefinitionId, MyFixedPoint)
Adds a blueprint to the production queue
(Inherited from IMyProductionBlock.)
Public methodCanUseBlueprint
Can this production block produce this blueprint?
(Inherited from IMyProductionBlock.)
Public methodClearQueue
Clears the Queue
(Inherited from IMyProductionBlock.)
Public methodGetActions (Inherited from IMyTerminalBlock.)
Public methodGetActionWithName (Inherited from IMyTerminalBlock.)
Public methodGetInventory (Inherited from IMyEntity.)
Public methodGetInventory(Int32) (Inherited from IMyEntity.)
Public methodGetOwnerFactionTag (Inherited from IMyCubeBlock.)
Public methodGetPlayerRelationToOwner Obsolete. (Inherited from IMyCubeBlock.)
Public methodGetPosition (Inherited from IMyEntity.)
Public methodGetProperties (Inherited from IMyTerminalBlock.)
Public methodGetProperty (Inherited from IMyTerminalBlock.)
Public methodGetQueue
Gets the current production queue
(Inherited from IMyProductionBlock.)
Public methodGetUserRelationToOwner (Inherited from IMyCubeBlock.)
Public methodHasLocalPlayerAccess (Inherited from IMyTerminalBlock.)
Public methodHasPlayerAccess (Inherited from IMyTerminalBlock.)
Public methodInsertQueueItem(Int32, MyDefinitionId, Decimal)
Inserts a blueprint into the production queue
(Inherited from IMyProductionBlock.)
Public methodInsertQueueItem(Int32, MyDefinitionId, Double)
Inserts a blueprint into the production queue
(Inherited from IMyProductionBlock.)
Public methodInsertQueueItem(Int32, MyDefinitionId, MyFixedPoint)
Inserts a blueprint into the production queue
(Inherited from IMyProductionBlock.)
Public methodMoveQueueItemRequest
Moves an item in the queue to a target position in the queue.
(Inherited from IMyProductionBlock.)
Public methodRemoveQueueItem(Int32, Decimal)
Removes an item from the queue
(Inherited from IMyProductionBlock.)
Public methodRemoveQueueItem(Int32, Double)
Removes an item from the queue
(Inherited from IMyProductionBlock.)
Public methodRemoveQueueItem(Int32, MyFixedPoint)
Removes an item from the queue
(Inherited from IMyProductionBlock.)
Public methodRequestEnable Obsolete. (Inherited from IMyFunctionalBlock.)
Public methodSearchActionsOfName (Inherited from IMyTerminalBlock.)
Public methodSetCustomName(String) Obsolete. (Inherited from IMyTerminalBlock.)
Public methodSetCustomName(StringBuilder) Obsolete. (Inherited from IMyTerminalBlock.)
Public methodUpdateIsWorking Obsolete. (Inherited from IMyCubeBlock.)
Public methodUpdateVisual Obsolete. (Inherited from IMyCubeBlock.)
Top
Extension Methods
  NameDescription
Public Extension MethodApplyAction(String)Overloaded. (Defined by TerminalBlockExtentions.)
Public Extension MethodApplyAction(String, ListTerminalActionParameter)Overloaded. (Defined by TerminalBlockExtentions.)
Public Extension MethodGetDefaultValueT
Returns default value of specified property as TypeName
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetId (Defined by TerminalBlockExtentions.)
Public Extension MethodGetInventoryCount (Defined by TerminalBlockExtentions.)
Public Extension MethodGetMaximumT
Returns maximum value of specified property as TypeName
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetMinimumT
Returns minimum value of specified property as TypeName
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetMininumT (Defined by TerminalPropertyExtensions.)
Public Extension MethodGetUseConveyorSystem (Defined by TerminalBlockExtentions.)
Public Extension MethodGetValueT
Returns value of specified property as TypeName
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetValueBool
Returns value of specified property
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetValueColor
Returns value of specified property
(Defined by TerminalPropertyExtensions.)
Public Extension MethodGetValueFloat
Returns value of specified property
(Defined by TerminalPropertyExtensions.)
Public Extension MethodHasAction (Defined by TerminalBlockExtentions.)
Public Extension MethodHasInventory (Defined by TerminalBlockExtentions.)
Public Extension MethodSetUseConveyorSystem (Defined by TerminalBlockExtentions.)
Public Extension MethodSetValueT
Set value of property with type of TypeName
(Defined by TerminalPropertyExtensions.)
Public Extension MethodSetValueBool
Set bool value of property
(Defined by TerminalPropertyExtensions.)
Public Extension MethodSetValueColor
Set bool value of property
(Defined by TerminalPropertyExtensions.)
Public Extension MethodSetValueFloat
Set float value of property
(Defined by TerminalPropertyExtensions.)
Top
Properties
  NameDescription
Public propertyBlockDefinition (Inherited from IMyCubeBlock.)
Public propertyCheckConnectionAllowed (Inherited from IMyCubeBlock.)
Public propertyComponents (Inherited from IMyEntity.)
Public propertyCubeGrid (Inherited from IMyCubeBlock.)
Public propertyCustomData
Gets or sets the Custom Data string. NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
(Inherited from IMyTerminalBlock.)
Public propertyCustomInfo (Inherited from IMyTerminalBlock.)
Public propertyCustomName (Inherited from IMyTerminalBlock.)
Public propertyCustomNameWithFaction (Inherited from IMyTerminalBlock.)
Public propertyDefinitionDisplayNameText (Inherited from IMyCubeBlock.)
Public propertyDetailedInfo (Inherited from IMyTerminalBlock.)
Public propertyDisassembleRatio (Inherited from IMyCubeBlock.)
Public propertyDisplayName (Inherited from IMyEntity.)
Public propertyDisplayNameText (Inherited from IMyCubeBlock.)
Public propertyEnabled (Inherited from IMyFunctionalBlock.)
Public propertyEntityId (Inherited from IMyEntity.)
Public propertyHasInventory (Inherited from IMyEntity.)
Public propertyInputInventory
Gets the input inventory.
(Inherited from IMyProductionBlock.)
Public propertyInventoryCount (Inherited from IMyEntity.)
Public propertyIsBeingHacked (Inherited from IMyCubeBlock.)
Public propertyIsFunctional (Inherited from IMyCubeBlock.)
Public propertyIsProducing
The device is currently producing.
(Inherited from IMyProductionBlock.)
Public propertyIsQueueEmpty
The production queue is empty.
(Inherited from IMyProductionBlock.)
Public propertyIsWorking (Inherited from IMyCubeBlock.)
Public propertyMass (Inherited from IMyCubeBlock.)
Public propertyMax (Inherited from IMyCubeBlock.)
Public propertyMin (Inherited from IMyCubeBlock.)
Public propertyName (Inherited from IMyEntity.)
Public propertyNextItemId
Gets the queue item ID of the next item to be produced.
(Inherited from IMyProductionBlock.)
Public propertyNumberInGrid (Inherited from IMyCubeBlock.)
Public propertyOrientation (Inherited from IMyCubeBlock.)
Public propertyOutputInventory
Gets the output inventory.
(Inherited from IMyProductionBlock.)
Public propertyOwnerId (Inherited from IMyCubeBlock.)
Public propertyPosition (Inherited from IMyCubeBlock.)
Public propertyShowInTerminal (Inherited from IMyTerminalBlock.)
Public propertyShowInToolbarConfig (Inherited from IMyTerminalBlock.)
Public propertyShowOnHUD (Inherited from IMyTerminalBlock.)
Public propertyUseConveyorSystem
Gets or sets whether this device should use the conveyor system to retrieve and store items.
(Inherited from IMyProductionBlock.)
Public propertyWorldAABB (Inherited from IMyEntity.)
Public propertyWorldAABBHr (Inherited from IMyEntity.)
Public propertyWorldMatrix (Inherited from IMyEntity.)
Public propertyWorldVolume (Inherited from IMyEntity.)
Public propertyWorldVolumeHr (Inherited from IMyEntity.)
Top
See Also