Class UpdateFrequency
Flags set how often the script will run itself.
Inheritance
System.Object
UpdateFrequency
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public sealed class UpdateFrequency : Enum
Fields
None
Does not run autonomously.
Declaration
public const UpdateFrequency None
Field Value
Type | Description |
---|---|
UpdateFrequency |
Once
Run once before the next tick. Flag is un-set automatically after the update
Declaration
public const UpdateFrequency Once
Field Value
Type | Description |
---|---|
UpdateFrequency |
Update1
Run every game tick.
Declaration
public const UpdateFrequency Update1
Field Value
Type | Description |
---|---|
UpdateFrequency |
Update10
Run every 10th game tick.
Declaration
public const UpdateFrequency Update10
Field Value
Type | Description |
---|---|
UpdateFrequency |
Update100
Run every 100th game tick.
Declaration
public const UpdateFrequency Update100
Field Value
Type | Description |
---|---|
UpdateFrequency |
value__
Declaration
public byte value__
Field Value
Type | Description |
---|---|
System.Byte |