Skip to main content

Class SyncStack<T>

Inheritance
System.Object
Inherited Members
Show
Syntax
public class SyncStack<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ISyncObject
Type Parameters
NameDescription
T

Constructors

SyncStack()

Declaration
public SyncStack()

SyncStack(Stack<T>)

Declaration
public SyncStack(Stack<T> objects)
Parameters
TypeNameDescription
System.Collections.Generic.Stack<T>objects

Properties

Count

Declaration
public int Count { get; }

IsReadOnly

Declaration
public bool IsReadOnly { get; }

IsDirty

Declaration
public bool IsDirty { get; }

Methods

ISyncObject.SetShouldSyncFrom(Boolean)

Declaration
void ISyncObject.SetShouldSyncFrom(bool shouldSync)
Parameters
TypeNameDescription
System.BooleanshouldSync

ISyncObject.SetNetworkBehaviour(NetworkBehaviour)

Declaration
void ISyncObject.SetNetworkBehaviour(NetworkBehaviour networkBehaviour)
Parameters
TypeNameDescription
Mirage.NetworkBehaviournetworkBehaviour

Flush()

Declaration
public void Flush()

Reset()

Declaration
public void Reset()

OnSerializeAll(NetworkWriter)

Declaration
public void OnSerializeAll(NetworkWriter writer)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter

OnSerializeDelta(NetworkWriter)

Declaration
public void OnSerializeDelta(NetworkWriter writer)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter

OnDeserializeAll(NetworkReader)

Declaration
public void OnDeserializeAll(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader

OnDeserializeDelta(NetworkReader)

Declaration
public void OnDeserializeDelta(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader

Push(T)

Declaration
public void Push(T item)
Parameters
TypeNameDescription
Titem

AddRange(IEnumerable<T>)

Declaration
public void AddRange(IEnumerable<T> range)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>range

Clear()

Declaration
public void Clear()

CopyTo(T[], Int32)

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
TypeNameDescription
{T}[]array
System.Int32arrayIndex

Pop()

Declaration
public T Pop()
Returns
TypeDescription
T

IEnumerable<T>.GetEnumerator()

Declaration
IEnumerator<T> IEnumerable<T>.GetEnumerator()
Returns
TypeDescription
System.Collections.Generic.IEnumerator<T>

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator