class NetList<T>

in global :: Sandbox

A networkable list for use with the and . Only changes will be networked instead of sending the whole list every time, so it's more efficient. Example usage: public class MyComponent : Component { [Sync] public NetList<int> MyIntegerList { get; set; } = new(); public void AddNumber( int number ) { if ( IsProxy ) return; MyIntegerList.Add( number ); } }


public void RemoveAt( int index )

public int Count { get; }

public bool Equals( object obj )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public IEnumerator<T> GetEnumerator( )

😔 No documentation found.

public T Item { get; set; }

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public NetList<T>( )

😔 No documentation found.

public int IndexOf( T item )

😔 No documentation found.

public bool Remove( T value )

😔 No documentation found.

public void Add( T value )

😔 No documentation found.

public void CopyTo( T[] array, int arrayIndex )

😔 No documentation found.

public bool Contains( T item )

😔 No documentation found.

public void Clear( )

😔 No documentation found.

public void Insert( int index, T value )

😔 No documentation found.

public void Dispose( )

😔 No documentation found.