-
Notifications
You must be signed in to change notification settings - Fork 125
Sandbox.ModAPI.Ingame.IMyGridProgramRuntimeInfo
← Index ← Namespace Index
public interface IMyGridProgramRuntimeInfo
Provides runtime info for a running grid program.
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
int CurrentCallChainDepth { get; }
Gets the current number of nested method calls.
int CurrentInstructionCount { get; }
Gets the current number of significant instructions executed.
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 MaxCallChainDepth { get; }
Gets the maximum number of method calls that can be nested into each other.
int MaxInstructionCount { get; }
Gets the maximum number of significant instructions that can be executing during a single run, including any other programmable blocks invoked immediately.
TimeSpan TimeSinceLastRun { get; }
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 UpdateFrequency { get; set; }
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!