MLAPI/docs/T_MLAPI_Attributes_SyncedVar.md
2018-03-31 10:20:18 +02:00

4.2 KiB

SyncedVar Class

The attribute to use for variables that should be automatically. replicated from Server to Client.

Inheritance Hierarchy

System.Object
  System.Attribute
    MLAPI.Attributes.SyncedVar
Namespace: MLAPI.Attributes
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public class SyncedVar : Attribute

The SyncedVar type exposes the following members.

Constructors

 

NameDescription
Public methodSyncedVar Initializes a new instance of the SyncedVar class
  Back to Top

Properties

 

NameDescription
Public propertyTypeId (Inherited from Attribute.)
  Back to Top

Methods

 

NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
  Back to Top

Fields

 

NameDescription
Public fieldhook The method name to invoke when the SyncVar get's updated.
  Back to Top

See Also

Reference

MLAPI.Attributes Namespace