NetworkedListT Class |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI.NetworkedVar.Collections
public class NetworkedList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, INetworkedVar
The NetworkedListT type exposes the following members.
| Name | Description | |
|---|---|---|
| NetworkedListT |
Creates a NetworkedList with the default value and settings
| |
| NetworkedListT(IListT) |
Creates a NetworkedList with a custom value and the default settings
| |
| NetworkedListT(NetworkedVarSettings) |
Creates a NetworkedList with the default value and custom settings
| |
| NetworkedListT(NetworkedVarSettings, IListT) |
Creates a NetworkedList with a custom value and custom settings
|
| Name | Description | |
|---|---|---|
| Count | ||
| IsReadOnly | ||
| Item | ||
| LastSyncedTime |
Gets the last time the variable was synced
|
| Name | Description | |
|---|---|---|
| Add | ||
| 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
| |
| Clear | ||
| Contains | ||
| CopyTo | ||
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetChannel |
Returns the name of the channel to be used for syncing
| |
| GetEnumerator | ||
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| IndexOf | ||
| Insert | ||
| IsDirty |
Gets wheter or not the container is dirty
| |
| MemberwiseClone | (Inherited from Object.) | |
| ReadDelta |
Reads delta from the reader and applies them to the internal value
| |
| ReadField |
Reads the complete state from the reader and applies it
| |
| Remove | ||
| RemoveAt | ||
| ResetDirty |
Resets the dirty state and marks the variable as synced / clean
| |
| SetNetworkedBehaviour |
Sets NetworkedBehaviour the container belongs to.
| |
| ToString | (Inherited from Object.) | |
| 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
|