swiftlys2/docs/api/ai/
API Reference Natives

CUtlVectorFixedGrowable`2

Struct
Namespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public struct CUtlVectorFixedGrowable<T, TBuffer> where T : unmanaged where TBuffer : unmanaged
View source

Constructors

CUtlVectorFixedGrowable(int, int)

public CUtlVectorFixedGrowable(int maxSize, int growSize = 0)
Parameters

Properties

Base

public readonly nint Base { get; }
Property Value

Count

public readonly int Count { get; }
Property Value

MaxSize

public readonly int MaxSize { get; }
Property Value

this[int]

public ref T this[int index] { get; }
Property Value
T

Methods

AddToTail(T)

public int AddToTail(T value)
Parameters
  • valueT
Returns

RemoveAll()

public void RemoveAll()

SetSize(int)

public void SetSize(int size)
Parameters