Api Sandbox SyncAttribute
class

SyncAttribute

public class SyncAttribute : Attribute

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

Constructors

SyncAttribute(SyncFlags flags)
SyncAttribute()

Properties

Name Type Description
Query Boolean 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
Flags SyncFlags Flags that describe how this property is synchronized.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.SyncAttribute