Class UpdateType
Enum describes what source triggered the script to run.
Inheritance
System.Object
UpdateType
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public sealed class UpdateType : Enum
Fields
IGC
Script run by intergrid communication system.
Declaration
public const UpdateType IGC
Field Value
Type | Description |
---|---|
UpdateType |
Mod
Script run by a mod.
Declaration
public const UpdateType Mod
Field Value
Type | Description |
---|---|
UpdateType |
None
None
Declaration
public const UpdateType None
Field Value
Type | Description |
---|---|
UpdateType |
Once
Script is updating once before the tick.
Declaration
public const UpdateType Once
Field Value
Type | Description |
---|---|
UpdateType |
Script
Script run by another programmable block.
Declaration
public const UpdateType Script
Field Value
Type | Description |
---|---|
UpdateType |
Terminal
Script run by user in the terminal.
Declaration
public const UpdateType Terminal
Field Value
Type | Description |
---|---|
UpdateType |
Trigger
Script run by a block such as timer, sensor.
Declaration
public const UpdateType Trigger
Field Value
Type | Description |
---|---|
UpdateType |
Update1
Script is updating every tick.
Declaration
public const UpdateType Update1
Field Value
Type | Description |
---|---|
UpdateType |
Update10
Script is updating every 10th tick.
Declaration
public const UpdateType Update10
Field Value
Type | Description |
---|---|
UpdateType |
Update100
Script is updating every 100th tick.
Declaration
public const UpdateType Update100
Field Value
Type | Description |
---|---|
UpdateType |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |