Space Engineers
Classes | Enumerations
Package Sandbox.Game.Entities.Blocks

Classes

interface  IMyTriggerableBlock
 
class  MyAttachableTopBlockBase
 
class  MyCollector
 
class  MyCryoChamber
 
class  MyDecoy
 
class  MyExtendedPistonBase
 
class  MyGasGenerator
 
class  MyGasTank
 
class  MyLaserBroadcaster
 
class  MyLaserReceiver
 
class  MyLightingBlock
 
class  MyMechanicalConnectionBlockBase
 
class  MyPistonBase
 
class  MyPistonTop
 
class  MyProgrammableBlock
 
class  MyProjectorBase
 
class  MyRealWheel
 
class  MyScenarioBuildingBlock
 
class  MySensorBlock
 
class  MyTextPanel
 
class  MyWheel
 
class  StringCompressor
 
struct  ToolbarItem
 
struct  ToolbarItemCache
 

Enumerations

enum  MySensorFilterFlags : ushort {
  MySensorFilterFlags.Players = 1 << 0, MySensorFilterFlags.FloatingObjects = 1 << 1, MySensorFilterFlags.SmallShips = 1 << 2, MySensorFilterFlags.LargeShips = 1 << 3,
  MySensorFilterFlags.Stations = 1 << 4, MySensorFilterFlags.Asteroids = 1 << 5, MySensorFilterFlags.Subgrids = 1 << 6, MySensorFilterFlags.Owner = 1 << 8,
  MySensorFilterFlags.Friendly = 1 << 9, MySensorFilterFlags.Neutral = 1 << 10, MySensorFilterFlags.Enemy = 1 << 11
}
 
enum  ScriptTerminationReason {
  ScriptTerminationReason.None, ScriptTerminationReason.NoScript, ScriptTerminationReason.NoEntryPoint, ScriptTerminationReason.InstructionOverflow,
  ScriptTerminationReason.OwnershipChange, ScriptTerminationReason.RuntimeException, ScriptTerminationReason.AlreadyRunning
}
 Determines why (if at all) a script was terminated. More...
 

Enumeration Type Documentation

Enumerator
Players 
FloatingObjects 
SmallShips 
LargeShips 
Stations 
Asteroids 
Subgrids 
Owner 
Friendly 
Neutral 
Enemy 

Definition at line 36 of file MySensorBlock.cs.

Determines why (if at all) a script was terminated.

Enumerator
None 

The script was not terminated.

NoScript 

There is no script (assembly) available.

NoEntryPoint 

No entry point (void Main(), void Main(string argument)) could be found.

InstructionOverflow 

The maximum allowed number of instructions has been reached.

OwnershipChange 

The programmable block has changed ownership and must be rebuilt.

RuntimeException 

A runtime exception happened during the execution of the script.

AlreadyRunning 

The script is already running (technically not a termination reason, but will be returned if a script tries to run itself in a nested fashion).

Definition at line 6 of file ScriptTerminationReason.cs.