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

Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo

Malware edited this page Dec 25, 2018 · 39 revisions

Index

IMyGridProgramRuntimeInfo Interface

private public abstract IMyGridProgramRuntimeInfo
```csharp

**Namespace:** [Sandbox.ModAPI.Ingame](Sandbox.ModAPI.Ingame)  
**Assembly:** Sandbox.Common.dll

### Example

### Remarks

###### Properties

|Member|Description|
|---|---|
|[TimeSinceLastRun](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.TimeSinceLastRun)|Gets the time elapsed since the last time the Main method of this program was run. This property returns no valid data neither in the constructor nor the Save method.|
|[LastRunTimeMs](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.LastRunTimeMs)|Gets the number of milliseconds it took to execute the Main method the last time it was run. This property returns no valid data neither in the constructor nor the Save method.|
|[MaxInstructionCount](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.MaxInstructionCount)|Gets the maximum number of significant instructions that can be executing during a single run, including any other programmable blocks invoked immediately.|
|[CurrentInstructionCount](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.CurrentInstructionCount)|Gets the current number of significant instructions executed.|
|[MaxCallChainDepth](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.MaxCallChainDepth)|Gets the maximum number of method calls that can be nested into each other.|
|[CurrentCallChainDepth](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.CurrentCallChainDepth)|Gets the current number of nested method calls.|
|[UpdateFrequency](Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo.UpdateFrequency)|Gets or sets how frequently this script will run itself|

Clone this wiki locally