API Reference › Natives
CUtlVector`1
StructNamespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public struct CUtlVector<T> : IEnumerable<T>, IEnumerableView source
Constructors
Please use ManagedCUtlVector%601 instead to construct it. If you really want to use this, you should call Purge after you are done with it.
public CUtlVector(int growSize, int initSize)Properties
Methods
public int AddVectorToTail(CUtlVector<T> other)Parameters
- otherCUtlVector<T>
Returns
public void AssumeMemory(nint memory, int allocationCount, int numElements)Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()public void SetExternalBuffer(nint memory, int allocationCount, int numELements, bool readOnly)