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.
_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!