Constructs server network data by specified name, clients will receive data via instance with same contructor.
Constructs server network data with random uuid, name like SND
Adds event that catches changes of any data values on both sides.
Adds server-side data transformer received from client to the object by specified key.
Same as SyncedNetworkData.sendChanges.
Connected client list, which receive this data.
Global verifier that was set via SyncedNetworkData.setGlobalVerifier.
Sets Object value by key.
Removes all data change events, that was registered by SyncedNetworkData.addOnDataChangedListener before.
Removes data change event, that was registered by SyncedNetworkData.addOnDataChangedListener before.
Sends changed data values for specific client (dirty data remains).
connected client to server
Overrides connected client list, new one will automatically send server data.
Adds server-side data transformer received from client that will be used if there is no verifier with specified key registered via SyncedNetworkData.addVerifier.
Static
getRegistered client synced data by name or null if it was not yet received.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class to work with values, synchronized between server and all clients.