Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: Ways To Syncronize
permalink: /wiki/ways-to-syncronize/
title: Ways To Synchronize
permalink: /wiki/ways-to-synchronize/
---

Syncronization can be done in multiple ways in the MLAPI. Each method has a different optimal usecase and support different features.
Synchronization can be done in multiple ways in the MLAPI. Each method has a different optimal usecase and support different features.

### Messaging System
For starters, the messaing system can be used. This provides sending any data. The parameters supported include most primitives and any classes and structures that implement the IBitWritable interface. This allows for custom types to be serialized easily. This way, custom types can be sent in RPC's without extra work. For more information, see the Messaging System wiki.

### INetworkedVar
The second way is to use the NetworkedVar system. This allows data to be synced by the library rather than by the developer. The NetworkedVar system supports syncing of data to new users in the spawn call automatically and delta compression. For more information, see the NetworkedVar wiki.
The second way is to use the NetworkedVar system. This allows data to be synced by the library rather than by the developer. The NetworkedVar system supports syncing of data to new users in the spawn call automatically and delta compression. For more information, see the NetworkedVar wiki.