This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo
Malware edited this page Dec 21, 2018
·
39 revisions
← Index
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Provides runtime info for a running grid program.
| Member | Description |
|---|---|
TimeSpan 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. |
double 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. |
int MaxInstructionCount |
Gets the maximum number of significant instructions that can be executing during a single run, including any other programmable blocks invoked immediately. |
int CurrentInstructionCount |
Gets the current number of significant instructions executed. |
int MaxCallChainDepth |
Gets the maximum number of method calls that can be nested into each other. |
int CurrentCallChainDepth |
Gets the current number of nested method calls. |
UpdateFrequency UpdateFrequency |
Gets or sets how frequently this script will run itself |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!