M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.PinnedArrayData< T > Struct Template Reference

Public Member Functions

 PinnedArrayData (T[] array, bool manualPinning=false)
 
 PinnedArrayData (T[,] array, bool manualPinning=false)
 
void Dispose ()
 

Static Public Member Functions

static PinnedArrayData ()
 
static bool CheckIfTypeRequiresManualPinning (Type type)
 

Properties

bool Pinned [get]
 
IntPtr Pointer [get]
 
T[] Array [get]
 
T[,] Array2D [get]
 
GCHandle Handle [get]
 

Constructor & Destructor Documentation

◆ PinnedArrayData() [1/3]

◆ PinnedArrayData() [2/3]

TaleWorlds.Library.PinnedArrayData< T >.PinnedArrayData ( T[] array,
bool manualPinning = false )

◆ PinnedArrayData() [3/3]

TaleWorlds.Library.PinnedArrayData< T >.PinnedArrayData ( T array[,],
bool manualPinning = false )

Member Function Documentation

◆ CheckIfTypeRequiresManualPinning()

static bool TaleWorlds.Library.PinnedArrayData< T >.CheckIfTypeRequiresManualPinning ( Type type)
static

◆ Dispose()

void TaleWorlds.Library.PinnedArrayData< T >.Dispose ( )

Property Documentation

◆ Pinned

bool TaleWorlds.Library.PinnedArrayData< T >.Pinned
get

◆ Pointer

IntPtr TaleWorlds.Library.PinnedArrayData< T >.Pointer
get

◆ Array

◆ Array2D

T [,] TaleWorlds.Library.PinnedArrayData< T >.Array2D
get

◆ Handle

GCHandle TaleWorlds.Library.PinnedArrayData< T >.Handle
get