s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
BindSystem
chevron_left Classes
class
BindSystem

Properties

data_objectBuilddata_objectCatchExceptionsdata_objectLinkCountdata_objectNamedata_objectThrottleUpdates

Methods

functionsFindAttributesfunctionsFlushfunctionsTick
BindSystem
Data bind system, bind properties to each other.
class Sandbox.Bind .
Sandbox.Bind

data_object Properties 5

Build
Builder
A helper to create binds between two properties (or whatever you want)
CatchExceptions
bool
If true we'll catch and remove exceptions when testing links instead of propagating them to the Tick call.
LinkCount
int
The current amount of active links
Name
string
The debug name given to this system (ie Tools, Client, Server)
ThrottleUpdates
bool
If true we'll throttle time between link change checks. This should always be enabled in game, for performance reasons.

functions Methods 3

FindAttributes (obj, property)
Attribute[]
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.
Flush ()
Call a tick with no timer limits, forcing all pending actions to be actioned
Tick ()
Should be called every frame. Will run through the links and check for changes, then action those changes. Will also remove dead links.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter