Sandbox.ModAPI.Ingame
IMyGridProgramRuntimeInfo
Assembly: Sandbox.Common.dll
public interface IMyGridProgramRuntimeInfo
Provides runtime info for a running grid program.
Properties
| Member | Description |
|---|---|
| CurrentCallChainDepth | Gets the current number of nested method calls. |
| CurrentInstructionCount | Gets the current number of significant instructions executed. |
| 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. |
| LifetimeTicks | The number of ticks this program has been running for. |
| MaxCallChainDepth | Gets the maximum number of method calls that can be nested into each other. |
| MaxInstructionCount | Gets the maximum number of significant instructions that can be executing during a single run, including any other programmable blocks invoked immediately. |
| 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. |
| UpdateFrequency | Gets or sets how frequently this script will run itself |