Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Api Index

Malware edited this page Dec 21, 2018 · 39 revisions

Not yet ready for use

Assemblies

These are the game assemblies used by programmable block scripts. Sandbox.Common.dll
Sandbox.Game.dll
SpaceEngineers.Game.dll
SpaceEngineers.ObjectBuilders.dll
VRage.dll
VRage.Game.dll
VRage.Library.dll
VRage.Math.dll

Types

Blocks

Use these interfaces when you wish to access specific block types.

IMyWarhead
IMyButtonPanel
IMyOxygenFarm
IMySolarPanel
IMyDoor
IMyBatteryBlock
IMyBeacon
IMyCameraBlock
IMyCockpit
IMyCollector
IMyConveyorSorter
IMyGyro
IMyJumpDrive
IMyLaserAntenna
IMyLightingBlock
IMyOreDetector
IMyGasGenerator
IMyProgrammableBlock
IMyProjector
IMyRadioAntenna
IMyReactor
IMyRemoteControl
IMySensorBlock
IMyShipConnector
IMyShipDrill
IMyThrust
IMyUpgradeModule
IMyTextPanel
IMyParachute
IMyAirVent
IMyLandingGear
IMyShipMergeBlock
IMySoundBlock
IMyVirtualMass
IMyTimerBlock
IMyAssembler
IMyMotorStator
IMyOxygenTank
IMyPistonBase
IMyShipWelder
IMySmallGatlingGun
IMySmallMissileLauncher
IMyMotorSuspension
IMyGravityGenerator
IMyGravityGeneratorSphere
IMySpaceBall
IMyLargeConveyorTurretBase

Block Categories

Use these interfaces when you wish to access blocks by a specific function or category rather than a specific block type.

IMyTerminalBlock
IMyFunctionalBlock
IMyShipController
IMyProductionBlock
IMyUserControllableGun
IMyMechanicalConnectionBlock
IMyGasTank
IMyShipToolBase
IMyGravityGeneratorBase
IMyLargeTurretBase

Utilities

Various useful utilities for your scripts

MyCommandLine
MyCommandLine.ItemCollection
MyCommandLine.SwitchCollection
MyCommandLine.SwitchEnumerator
MyCommandLine.Enumerator
MyIni
MyIniKey
MyIniParseResult
MyIniValue
StringSegment
TextPtr

Grid Program and Terminal System

Types related to the grid program and grid terminal system

IMyBlockGroup
IMyGridTerminalSystem
IMyGridProgramRuntimeInfo
UpdateFrequency
UpdateType
MyGridProgram
IMySlimBlock
IMyCubeBlock
IMyCubeGrid

Entity Component Systems

Gain access to advanced block components

MyComponentBase
MyComponentContainer
MyResourceSinkComponentBase
MyResourceSourceComponentBase
MyResourceSinkComponent
MyResourceSourceComponent

Inventory

Types related to inventory analysis and management.

IMyInventoryItem
IMyInventory
MyInventoryItemExtension
IMyInventoryOwner

Terminal Properties and Actions

Types related to the terminal properties and actions. You should endeavour to avoid the use of these if possible due to their extra overhead. There are usually proper interface members available instead, which are orders of magnitude faster in use.

TerminalActionParameter
TerminalBlockExtentions
ITerminalProperty
TerminalPropertyExtensions
ITerminalAction
ITerminalProperty<TValue>

Math

Math utilities

Base27Directions
Base27Directions.Direction
Base6Directions
Base6Directions.Direction
Base6Directions.DirectionFlags
Base6Directions.Axis
BoundingBox2I
BoundingBox2D
BoundingBox2
BoundingBoxI
BoundingBox
BoundingBox.ComparerType
BoundingFrustum
BoundingSphere
BoundingBoxD
BoundingBoxD.ComparerType
BoundingSphereD
BoundingFrustumD
BoxCornerEnumerator
CapsuleD
CompressedPositionOrientation
HyperSphereHelpers
MathHelperD
Matrix3x3
MyCuboidSide
MyCuboid
MyMath
Vector3Extensions
BoundingFrustumExtensions
MyMovingAverage
MyTransformD
QuaternionD
SerializableRange
SymmetricSerializableRange
MyVector3DGrid<T>
MyVector3DGrid<T>.Enumerator<T>
MyVector3Grid<T>
MyVector3Grid<T>.SphereQuery<T>
Vector2D
Vector3L_RangeIterator
Vector3L
Vector3L.EqualityComparer
Vector3LNormalEqualityComparer
Vector4D
MyOrientedBoundingBoxD
PlaneD
LineD
RayD
MatrixD
MyClusterTree
MyClusterTree.IMyActivationHandler
MyClusterTree.MyCluster
MyClusterTree.MyClusterQueryResult
AddOp<T>
MyDynamicAABBTreeD
Vector3D
NullableVector3DExtensions
MatrixI
MyMortonCode3D
MyQuad
MyQuadD
MyShort4
IPackedVector
ColorExtensions
ContainmentType
Capsule
MyBlockOrientation
MyBounds
MyOrientedBoundingBox
MyTransform
MyUShort4
HalfVector3
Vector3B
Vector3INormalEqualityComparer
Vector3S
Vector2I
Vector2I.ComparerClass
Vector3UByte
Vector3UByte.EqualityComparer
Vector3Ushort
Vector4I
Vector4I.EqualityComparer
CubeFace
Vector3I_RangeIterator
Vector3I
Vector3I.EqualityComparer
Curve
CurveContinuity
CurveKey
CurveKeyCollection
CurveLoopType
CurveTangent
Line
MyLineSegmentOverlapResult<T>
MyLineSegmentOverlapResult<T>.MyLineSegmentOverlapResultComparer<T>
MathHelper
Matrix
HalfUtils
Plane
PlaneIntersectionType
Point
Quaternion
Ray
Rectangle
RectangleF
MyDynamicAABBTree
MyDynamicAABBTree.DynamicTreeNode
Vector2
Vector3
NullableVector3Extensions
Vector4
Vector4UByte
IPackedVector<TPacked>
Color
Byte4
HalfVector2
HalfVector4
NormalizedByte4

Other

Currently ungrouped types

MyTransmitTarget
MyAssemblerMode
MyConveyorSorterMode
MyInventoryItemFilter
MyLaserAntennaStatus
FlightMode
MyWaypointInfo
MyShipConnectorStatus
MyShipMass
MyPlanetElevation
MyShipVelocities
MyJumpDriveStatus
PistonStatus
DoorStatus
MyProductionItem
MyDetectedEntityType
MyDetectedEntityInfo
MySpaceTexts
TerminalActionExtensions
VentStatus
LandingGearMode
MyLanguagesEnum
MyTexts
IMyEntity
MyObjectBuilder_Base
MyRelationsBetweenPlayerAndBlock
MyRelationsBetweenPlayerAndBlockExtensions
MyDefinitionId
MyObjectBuilder_GasProperties
MyCubeSize
SerializableDefinitionId
ListReader<T>
DictionaryExtensions
HashSetExtensions
HashSetExtensions.HashSetInternalAccessor<T>
ClearToken<T>
ListExtensions
QueueExtensions
MyFixedPoint
MyTuple
MyTupleComparer<T1, T2>
MyTupleComparer<T1, T2, T3>
MyTuple<T1>
MyTuple<T1, T2>
MyTuple<T1, T2, T3>
MyTuple<T1, T2, T3, T4>
MyTuple<T1, T2, T3, T4, T5>
MyTuple<T1, T2, T3, T4, T5, T6>
IMyAttachableTopBlock
IMyUpgradableBlock

Clone this wiki locally