Class NetworkedVector<T>
- Namespace
- CounterStrikeSharp.API.Core
- Assembly
- CounterStrikeSharp.API.dll
public class NetworkedVector<T> : NativeObject, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
- Inheritance
-
objectNetworkedVector<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Constructors
NetworkedVector(nint)
public NetworkedVector(nint pointer)
Parameters
pointer
nint
Properties
Count
Gets the number of elements in the collection.
public int Count { get; }
Property Value
- int
The number of elements in the collection.
this[int]
public T this[int index] { get; }
Parameters
index
int
Property Value
- T
Size
public uint Size { get; }
Property Value
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
An enumerator that can be used to iterate through the collection.
RemoveAll()
public void RemoveAll()