| Mirror Networking
    | 
 
  
| Public Member Functions | |
| delegate void | SyncDictionaryChanged (Operation op, TKey key, TValue item) | 
| override void | Reset () | 
| Resets the SyncObject so that it can be re-used More... | |
| override void | ClearChanges () | 
| Discard all the queued changes More... | |
| SyncIDictionary (IDictionary< TKey, TValue > objects) | |
| override void | OnSerializeAll (NetworkWriter writer) | 
| Write a full copy of the object More... | |
| override void | OnSerializeDelta (NetworkWriter writer) | 
| Write the changes made to the object since last sync More... | |
| override void | OnDeserializeAll (NetworkReader reader) | 
| Reads a full copy of the object More... | |
| override void | OnDeserializeDelta (NetworkReader reader) | 
| Reads the changes made to the object since last sync More... | |
| void | Clear () | 
| bool | ContainsKey (TKey key) | 
| bool | Remove (TKey key) | 
| bool | TryGetValue (TKey key, out TValue value) | 
| void | Add (TKey key, TValue value) | 
| void | Add (KeyValuePair< TKey, TValue > item) | 
| bool | Contains (KeyValuePair< TKey, TValue > item) | 
| void | CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex) | 
| bool | Remove (KeyValuePair< TKey, TValue > item) | 
| IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () | 
| abstract void | ClearChanges () | 
| Discard all the queued changes More... | |
| abstract void | OnSerializeAll (NetworkWriter writer) | 
| Write a full copy of the object More... | |
| abstract void | OnSerializeDelta (NetworkWriter writer) | 
| Write the changes made to the object since last sync More... | |
| abstract void | OnDeserializeAll (NetworkReader reader) | 
| Reads a full copy of the object More... | |
| abstract void | OnDeserializeDelta (NetworkReader reader) | 
| Reads the changes made to the object since last sync More... | |
| abstract void | Reset () | 
| Resets the SyncObject so that it can be re-used More... | |
| Protected Attributes | |
| readonly IDictionary< TKey, TValue > | objects | 
| Properties | |
| int | Count  [get] | 
| bool | IsReadOnly  [get] | 
| ICollection< TKey > | Keys  [get] | 
| ICollection< TValue > | Values  [get] | 
| TValue | this[TKey i]  [get, set] | 
| Events | |
| SyncDictionaryChanged | Callback | 
| Additional Inherited Members | |
|  Public Attributes inherited from Mirror.SyncObject | |
| Action | OnDirty | 
| Used internally to set owner NetworkBehaviour's dirty mask bit when changed. More... | |
| Func< bool > | IsRecording = () => true | 
| Used internally to check if we are currently tracking changes. More... | |
Definition at line 6 of file SyncDictionary.cs.
| Mirror.SyncIDictionary< TKey, TValue >.SyncIDictionary | ( | IDictionary< TKey, TValue > | objects | ) | 
Definition at line 64 of file SyncDictionary.cs.
| void Mirror.SyncIDictionary< TKey, TValue >.Add | ( | TKey | key, | 
| TValue | value | ||
| ) | 
Definition at line 254 of file SyncDictionary.cs.
| void Mirror.SyncIDictionary< TKey, TValue >.Clear | ( | ) | 
Definition at line 216 of file SyncDictionary.cs.
| 
 | virtual | 
Discard all the queued changes
Implements Mirror.SyncObject.
| bool Mirror.SyncIDictionary< TKey, TValue >.Contains | ( | KeyValuePair< TKey, TValue > | item | ) | 
Definition at line 262 of file SyncDictionary.cs.
| void Mirror.SyncIDictionary< TKey, TValue >.CopyTo | ( | KeyValuePair< TKey, TValue >[] | array, | 
| int | arrayIndex | ||
| ) | 
Definition at line 267 of file SyncDictionary.cs.
| 
 | virtual | 
Reads a full copy of the object
Implements Mirror.SyncObject.
Definition at line 134 of file SyncDictionary.cs.
| 
 | virtual | 
Reads the changes made to the object since last sync
Implements Mirror.SyncObject.
Definition at line 158 of file SyncDictionary.cs.
| 
 | virtual | 
Write a full copy of the object
Implements Mirror.SyncObject.
Definition at line 92 of file SyncDictionary.cs.
| 
 | virtual | 
Write the changes made to the object since last sync
Implements Mirror.SyncObject.
Definition at line 110 of file SyncDictionary.cs.
| bool Mirror.SyncIDictionary< TKey, TValue >.Remove | ( | KeyValuePair< TKey, TValue > | item | ) | 
Definition at line 286 of file SyncDictionary.cs.
| bool Mirror.SyncIDictionary< TKey, TValue >.Remove | ( | TKey | key | ) | 
Definition at line 224 of file SyncDictionary.cs.
| 
 | virtual | 
Resets the SyncObject so that it can be re-used
Implements Mirror.SyncObject.
Definition at line 44 of file SyncDictionary.cs.
| 
 | protected | 
Definition at line 10 of file SyncDictionary.cs.
| 
 | get | 
Definition at line 12 of file SyncDictionary.cs.
| 
 | get | 
Definition at line 13 of file SyncDictionary.cs.
| 
 | get | 
Definition at line 52 of file SyncDictionary.cs.
| 
 | getset | 
Definition at line 234 of file SyncDictionary.cs.
| 
 | get | 
Definition at line 54 of file SyncDictionary.cs.
| SyncDictionaryChanged Mirror.SyncIDictionary< TKey, TValue >.Callback | 
Definition at line 14 of file SyncDictionary.cs.