Skip to content

Mirror::SyncListInt

Inherits from SyncList< int >, IList< T >, SyncObject

Additional inherited members

Public Classes inherited from SyncList< int >

Name
struct Enumerator

Public Events inherited from SyncList< int >

Name
SyncListChanged Callback()

Public Functions inherited from SyncList< int >

Name
delegate void SyncListChanged(Operation op, int itemIndex, T oldItem, T newItem)
SyncList()
SyncList(IEqualityComparer< T > comparer)
SyncList(IList< T > objects, IEqualityComparer< T > comparer =null)
void Flush()
Discard all the queued changes
void Reset()
Resets the SyncObject so that it can be re-used
void OnSerializeAll(NetworkWriter writer)
Write a full copy of the object
void OnSerializeDelta(NetworkWriter writer)
Write the changes made to the object since last sync
void OnDeserializeAll(NetworkReader reader)
Reads a full copy of the object
void OnDeserializeDelta(NetworkReader reader)
Reads the changes made to the object since last sync
void Add(T item)
void AddRange(IEnumerable< T > range)
void Clear()
bool Contains(T item)
void CopyTo(T [] array, int index)
int IndexOf(T item)
int FindIndex(Predicate< T > match)
T Find(Predicate< T > match)
List< T > FindAll(Predicate< T > match)
void Insert(int index, T item)
void InsertRange(int index, IEnumerable< T > range)
bool Remove(T item)
void RemoveAt(int index)
int RemoveAll(Predicate< T > match)
Enumerator GetEnumerator()

Public Properties inherited from SyncList< int >

Name
bool IsReadOnly
T this[int i]

Public Attributes inherited from SyncList< int >

Name
int Count
bool IsDirty

Public Functions inherited from SyncObject

Name
void Flush()
Discard all the queued changes
void OnSerializeAll(NetworkWriter writer)
Write a full copy of the object
void OnSerializeDelta(NetworkWriter writer)
Write the changes made to the object since last sync
void OnDeserializeAll(NetworkReader reader)
Reads a full copy of the object
void OnDeserializeDelta(NetworkReader reader)
Reads the changes made to the object since last sync
void Reset()
Resets the SyncObject so that it can be re-used

Public Properties inherited from SyncObject

Name
bool IsDirty
true if there are changes since the last flush

Updated on 20 January 2021 at 20:00:02 UTC