Scripting API Documentation
From Space Engineers Wiki
In Update 01.063, In-game Programming was introduced, allowing Engineers to make their own scripts to be compiled and ran by the Programmable Block. There is a limited API available to would-be coders which is described and documented here.
An alternative documentation is available to experienced c# developers here, as explained in this forum post here.
Contents
Sandbox.Common.ObjectBuilders
Structs | |
---|---|
Name | Description |
BoneInfo | A struct |
MyEncounterId | A struct |
MyObjectBuilder_Checkpoint.ModItem | A struct |
MyObjectBuilder_Checkpoint.PlayerId | A struct |
MyObjectBuilder_Checkpoint.PlayerItem | A struct |
MyObjectBuilder_Checkpoint.RespawnCooldownItem | A struct |
MyObjectBuilder_CubeBlock.MySubBlockId | A struct |
MyObjectBuilder_FactionRelation | A struct |
MyObjectBuilder_FactionRequests | A struct |
MyObjectBuilder_FracturedBlock.ShapeB | A struct |
MyObjectBuilder_FracturedPiece.Shape | A struct |
MyObjectBuilder_ProductionBlock.QueueItem | A struct |
MyObjectBuilder_Toolbar.Slot | A struct |
MyObjectBuilderType | A struct |
MyOrientation | A struct |
MyPositionAndOrientation | A struct |
MyRuntimeObjectBuilderId | A struct |
Interfaces | |
---|---|
Name | Description |
IMyRemapHelper | An interface. |
Enumerations | |
---|---|
Name | Description |
MyBlockTopology | An enum. |
MyCameraControllerEnum | An enum. |
MyCharacterModelEnum | An enum. |
MyCubeSize | An enum. |
MyEnvironmentHostilityEnum | An enum. |
MyGameModeEnum | An enum. |
MyItemFlags | An enum. |
MyObjectBuilder_ConveyorLine.LineType | An enum. |
MyOnlineModeEnum | An enum. |
MyOwnershipShareModeEnum | An enum. |
MyPersistentEntityFlags2 | An enum. |
MySessionGameType | Obsolete. |
MySessionHarvestMode | Obsolete. |
MyToolbarType | An enum. |
Sandbox.ModAPI
Classes | |
---|---|
Name | Description |
MyAPIGateway | A class |
Interfaces | |
---|---|
Name | Description |
IMyButtonPanel | An interface. |
IMyConfigDedicated | An interface. |
IMyControllerInfo | An interface. |
IMyCubeBlock | An interface. |
IMyCubeBuilder | An interface. |
IMyCubeGrid | An interface. |
IMyDoor | An interface. |
IMyEntities | An interface. |
IMyEntity | An interface. |
IMyEntityController | An interface. |
IMyFaction | An interface. |
IMyFactionCollection | An interface. |
IMyFunctionalBlock | An interface. |
IMyGamePaths | An interface. |
IMyHudObjectiveLine | An interface. |
IMyIdentity | An interface. |
IMyInventory | An interface. |
IMyLandingGear | An interface. |
IMyMotorStator | An interface. |
IMyMultiplayer | An interface. |
IMyNetworkClient | An interface. |
IMyParallelTask | An interface. |
IMyPistonBase | An interface. |
IMyPlayer | An interface. |
IMyPlayerCollection | An interface. |
IMyProductionBlock | An interface. |
IMySensorBlock | An interface. |
IMySession | An interface. |
IMyShipMergeBlock | An interface. |
IMySlimBlock | An interface. |
IMyTerminalActionsHelper | An interface. |
IMyTerminalBlock | An interface. |
IMyUtilities | An interface. |
IMyVoxelMap | An interface. |
IMyVoxelMaps | An interface. |
Delegates | |
---|---|
Name | Description |
MessageEnteredDel | A Delegate. |
Enumerations | |
---|---|
Name | Description |
EntityFlags | An enum. |
ResultEnum | An enum. |
Sandbox.ModAPI.Ingame
Interfaces | |
---|---|
Name | Description |
IMyAssembler | An interface. |
IMyBatteryBlock | An interface. |
IMyBeacon | An interface. |
IMyBlockGroup | An interface. |
IMyButtonPanel | An interface. |
IMyCameraBlock | An interface. |
IMyCargoContainer | An interface. |
IMyCockpit | An interface. |
IMyCollector | An interface. |
IMyControlPanel | An interface. |
IMyCubeBlock | An interface. |
IMyCubeGrid | An interface. |
IMyDoor | An interface. |
IMyFunctionalBlock | An interface. |
IMyGravityGenerator | An interface. |
IMyGravityGeneratorBase | An interface. |
IMyGravityGeneratorSphere | An interface. |
IMyGridTerminalSystem | An interface. |
IMyGyro | An interface. |
IMyInteriorLight | An interface. |
IMyLandingGear | An interface. |
IMyLargeConveyorTurretBase | An interface. |
IMyLargeGatlingTurret | An interface. |
IMyLargeInteriorTurret | An interface. |
IMyLargeMissileTurret | An interface. |
IMyLargeTurretBase | An interface. |
IMyLightingBlock | An interface. |
IMyMedicalRoom | An interface. |
IMyMotorAdvancedStator | An interface. |
IMyMotorBase | An interface. |
IMyMotorStator | An interface. |
IMyMotorSuspension | An interface. |
IMyOreDetector | An interface. |
IMyPistonBase | An interface. |
IMyProductionBlock | An interface. |
IMyProgrammableBlock | An interface. |
IMyProjector | An interface. |
IMyRadioAntenna | An interface. |
IMyReactor | An interface. |
IMyRefinery | An interface. |
IMyReflectorLight | An interface. |
IMyRemoteControl | An interface. |
IMySensorBlock | An interface. |
IMyShipConnector | An interface. |
IMyShipController | An interface. |
IMyShipDrill | An interface. |
IMyShipGrinder | An interface. |
IMyShipMergeBlock | An interface. |
IMyShipToolBase | An interface. |
IMyShipWelder | An interface. |
IMySlimBlock | An interface. |
IMySmallGatlingGun | An interface. |
IMySmallMissileLauncher | An interface. |
IMySmallMissileLauncherReload | An interface. |
IMySolarPanel | An interface. |
IMySoundBlock | An interface. |
IMyTerminalBlock | An interface. |
IMyThrust | An interface. |
IMyTimerBlock | An interface. |
IMyWarhead | An interface. |
IMyVirtualMass | An interface. |
Sandbox.ModAPI.Interfaces
Interfaces | |
---|---|
Name | Description |
IMyCameraController | An interface. |
IMyControllableEntity | An interface. |
IMyDestroyableObject | An interface. |
IMyInventory | An interface. |
IMyInventoryItem | An interface. |
IMyInventoryOwner | An interface. |
IMyStorage | An interface. |
ITerminalAction | An interface. |