public sealed class Sandbox.Utility.DataProgress.Callback : System.MulticastDelegate
Callback delegate for receiving progress updates.
Related Guides
Broader workflow and conceptual references connected to this API.
s&box has a [CodeGenerator] attribute that you can use to decorate another attribute specifically for use with methods and properties. It lets you wrap methods and properties to perform some other action when the method is called or the property is set or to return a different value when the property is read.
You should not rely on the order in which the same callback methods get invoked for different GameObjects, it is not predictable. If you need more control, you should use a GameObjectSystem.
Adding the [Sync] attribute to a property on a Component will have its latest value sent to other players each time it changes.
Here's how you can use ActionGraph with your game code written in C#.
Constructors
Showing 1 constructors
public Callback(object object, System.IntPtr method)
No results match this filter.
Methods
Showing 3 methods
public virtual System.IAsyncResult BeginInvoke(Sandbox.Utility.DataProgress progress, System.AsyncCallback callback, object object)
public virtual void EndInvoke(System.IAsyncResult result)
public virtual void Invoke(Sandbox.Utility.DataProgress progress)
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.Utility.DataProgress.Callback |