s&box docs
API ReferenceSandbox.Bind

public class Sandbox.Bind.BindSystem

Data bind system, bind properties to each other.

Methods

Showing 3 methods

public System.Attribute[] FindAttributes(T obj, string property)

For this object, with this property, find the property that supplies it and return any attributes set on it. This is useful for editors to allow them to supply the correct editor, without having access to the property.

public void Flush()

Call a tick with no timer limits, forcing all pending actions to be actioned

public void Tick()

Should be called every frame. Will run through the links and check for changes, then action those changes. Will also remove dead links.

Properties

Showing 5 properties

public Sandbox.Bind.Builder Sandbox.Bind.BindSystem.Build { get; set; }

A helper to create binds between two properties (or whatever you want)

public bool Sandbox.Bind.BindSystem.CatchExceptions { get; set; }

If true we'll catch and remove exceptions when testing links instead of propagating them to the Tick call.

public int Sandbox.Bind.BindSystem.LinkCount { get; set; }

The current amount of active links

public string Sandbox.Bind.BindSystem.Name { get; set; }

The debug name given to this system (ie Tools, Client, Server)

public bool Sandbox.Bind.BindSystem.ThrottleUpdates { get; set; }

If true we'll throttle time between link change checks. This should always be enabled in game, for performance reasons.

Metadata

FieldValue
NamespaceSandbox.Bind
Typeclass
AssemblySandbox.Bind
Doc IDT:Sandbox.Bind.BindSystem

On this page