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 25, 2018 · 39 revisions

Namespace Index

This index contains all types and members available to ingame scripting - with exception to the .NET types, because including those would have made the listing far too big. There will be links to Microsoft's own documentation for those types where appropriate.

Blocks

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

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

Block Categories

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

IMyFunctionalBlock
IMyGravityGeneratorBase
IMyLargeTurretBase
IMyMechanicalConnectionBlock
IMyProductionBlock
IMyShipController
IMyShipToolBase
IMyTerminalBlock
IMyUserControllableGun

Utilities

Various useful utilities for your scripts

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

Grid Program and Terminal System

Types related to the grid program and grid terminal system

IMyBlockGroup
IMyCubeBlock
IMyCubeGrid
IMyGridProgramRuntimeInfo
IMyGridTerminalSystem
IMySlimBlock
MyGridProgram
UpdateFrequency
UpdateType

Entity Component Systems

Gain access to advanced block components

MyComponentBase
MyComponentContainer
MyResourceSinkComponent
MyResourceSinkComponentBase
MyResourceSourceComponent
MyResourceSourceComponentBase

Inventory

Types related to inventory analysis and management.

IMyInventory
IMyInventoryItem
MyInventoryItemExtension

Terminal Properties and Actions

Types related to the terminal properties and actions. You should endeavor 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.

ITerminalAction
ITerminalProperty
ITerminalProperty<TValue>
TerminalActionExtensions
TerminalActionParameter

Math

Math utilities

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

Other

Currently ungrouped types

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

Obsolete

These types should no longer be used and may be removed in the future. If you're using one of these types, you should replace them as soon as possible.

IMyInventoryOwner
IMyOxygenTank

Clone this wiki locally