Skip to content

Commit e4e8082

Browse files
committed
add ListierNetworkList
1 parent 7a394cd commit e4e8082

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using System.Collections;
3+
using System.Collections.Generic;
4+
5+
namespace Unity.Netcode;
6+
7+
internal class ListierNetworkList<T> : NetworkList<T>, IList<T> where T : unmanaged, IEquatable<T>
8+
{
9+
IEnumerator IEnumerable.GetEnumerator() => base.GetEnumerator();
10+
11+
public void CopyTo(T[] array, int arrayIndex) => throw new NotSupportedException();
12+
13+
public bool IsReadOnly => false;
14+
}

0 commit comments

Comments
 (0)