s&box docs

public class Sandbox.SyncAttribute : System.Attribute

Automatically synchronize a property of a networked object from the owner to other clients.

Constructors

Showing 2 constructors

Properties

Showing 2 properties

public Sandbox.SyncFlags Sandbox.SyncAttribute.Flags { get; set; }

Flags that describe how this property is synchronized.

public bool Sandbox.SyncAttribute.Query { get; set; }Obsolete

Query this value for changes rather than counting on set being called. This is appropriate if the value returned by its getter can change without calling its setter. Obsoleted: 13/12/2024

Obsolete: Use SyncFlags.Query

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.SyncAttribute

On this page