INetworkedVar Interface |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI.NetworkedVar
public interface INetworkedVar
The INetworkedVar type exposes the following members.
| Name | Description | |
|---|---|---|
| CanClientRead |
Gets wheter or not a specific client can read to the varaible
| |
| CanClientWrite |
Gets wheter or not a specific client can write to the varaible
| |
| GetChannel |
Returns the name of the channel to be used for syncing
| |
| IsDirty |
Gets wheter or not the container is dirty
| |
| ReadDelta |
Reads delta from the reader and applies them to the internal value
| |
| ReadField |
Reads the complete state from the reader and applies it
| |
| ResetDirty |
Resets the dirty state and marks the variable as synced / clean
| |
| SetNetworkedBehaviour |
Sets NetworkedBehaviour the container belongs to.
| |
| WriteDelta |
Writes the dirty changes, that is, the changes since the variable was last dirty, to the writer
| |
| WriteField |
Writes the complete state of the variable to the writer
|