SwiftlyS2

CUtlVectorFixedGrowable

Struct CUtlVectorFixedGrowable

Namespace: SwiftlyS2.Shared.Natives

Assembly: SwiftlyS2.CS2.dll

public struct CUtlVectorFixedGrowable<T, TBuffer> where T : unmanaged where TBuffer : unmanaged
Type Parameters
  • T
  • TBuffer

Inherited Members

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

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

Methods

AddToTail(T)

public int AddToTail(T value)
Parameters
  • value T
Returns

RemoveAll()

public void RemoveAll()

SetSize(int)

public void SetSize(int size)
Parameters

On this page