Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TPtrTableBase< T, PtrType > Class Template Reference

#include <MemoryImage.h>

+ Inheritance diagram for TPtrTableBase< T, PtrType >:
+ Collaboration diagram for TPtrTableBase< T, PtrType >:

Public Member Functions

void Empty (int32 NewSize=0)
 
uint32 Num () const
 
uint32 AddIndexedPointer (T *Ptr)
 
bool TryAddIndexedPtr (const FTypeLayoutDesc &TypeDesc, void *Ptr, int32 &OutIndex)
 
void LoadIndexedPointer (T *Ptr)
 
void AddPatchedPointer (T *Ptr, uint64 Offset)
 
TGetIndexedPointer (uint32 i) const
 
bool TryGetIndexedPtr (const FTypeLayoutDesc &TypeDesc, uint32 i, void *&OutPtr) const
 
void ApplyPointerPatches (void *FrozenBase) const
 
TArray< PtrType >::RangedForIteratorType begin ()
 
TArray< PtrType >::RangedForIteratorType end ()
 
TArray< PtrType >::RangedForConstIteratorType begin () const
 
TArray< PtrType >::RangedForConstIteratorType end () const
 
- Public Member Functions inherited from FPtrTableBase
void SavePatchesToArchive (FArchive &Ar, uint32 PtrIndex) const
 

Static Public Member Functions

static const FTypeLayoutDescStaticGetPtrTypeLayoutDesc ()
 
- Static Public Member Functions inherited from FPtrTableBase
template<typename PtrType >
static void LoadAndApplyPatchesFromArchive (FArchive &Ar, void *FrozenBase, const PtrType &Ptr)
 

Private Attributes

TArray< PtrType > Pointers
 

Additional Inherited Members

- Protected Member Functions inherited from FPtrTableBase
void AddPatchedPointerBase (uint32 PtrIndex, uint64 Offset)
 
- Protected Attributes inherited from FPtrTableBase
TArray< FPatchOffsetListPatchLists
 
TArray< FPatchOffsetPatchOffsets
 

Detailed Description

template<typename T, typename PtrType>
class TPtrTableBase< T, PtrType >

Definition at line 940 of file MemoryImage.h.

Member Function Documentation

◆ AddIndexedPointer()

template<typename T , typename PtrType >
uint32 TPtrTableBase< T, PtrType >::AddIndexedPointer ( T * Ptr)
inline

Definition at line 951 of file MemoryImage.h.

◆ AddPatchedPointer()

template<typename T , typename PtrType >
void TPtrTableBase< T, PtrType >::AddPatchedPointer ( T * Ptr,
uint64 Offset )
inline

Definition at line 978 of file MemoryImage.h.

◆ ApplyPointerPatches()

template<typename T , typename PtrType >
void TPtrTableBase< T, PtrType >::ApplyPointerPatches ( void * FrozenBase) const
inline

Definition at line 996 of file MemoryImage.h.

◆ begin() [1/2]

template<typename T , typename PtrType >
TArray< PtrType >::RangedForIteratorType TPtrTableBase< T, PtrType >::begin ( )
inline

Definition at line 1010 of file MemoryImage.h.

◆ begin() [2/2]

template<typename T , typename PtrType >
TArray< PtrType >::RangedForConstIteratorType TPtrTableBase< T, PtrType >::begin ( ) const
inline

Definition at line 1012 of file MemoryImage.h.

◆ Empty()

template<typename T , typename PtrType >
void TPtrTableBase< T, PtrType >::Empty ( int32 NewSize = 0)
inline

Definition at line 945 of file MemoryImage.h.

◆ end() [1/2]

template<typename T , typename PtrType >
TArray< PtrType >::RangedForIteratorType TPtrTableBase< T, PtrType >::end ( )
inline

Definition at line 1011 of file MemoryImage.h.

◆ end() [2/2]

template<typename T , typename PtrType >
TArray< PtrType >::RangedForConstIteratorType TPtrTableBase< T, PtrType >::end ( ) const
inline

Definition at line 1013 of file MemoryImage.h.

◆ GetIndexedPointer()

template<typename T , typename PtrType >
T * TPtrTableBase< T, PtrType >::GetIndexedPointer ( uint32 i) const
inline

Definition at line 984 of file MemoryImage.h.

◆ LoadIndexedPointer()

template<typename T , typename PtrType >
void TPtrTableBase< T, PtrType >::LoadIndexedPointer ( T * Ptr)
inline

Definition at line 963 of file MemoryImage.h.

◆ Num()

template<typename T , typename PtrType >
uint32 TPtrTableBase< T, PtrType >::Num ( ) const
inline

Definition at line 950 of file MemoryImage.h.

◆ StaticGetPtrTypeLayoutDesc()

template<typename T , typename PtrType >
const FTypeLayoutDesc & TPtrTableBase< T, PtrType >::StaticGetPtrTypeLayoutDesc ( )
inlinestatic

Definition at line 1148 of file MemoryImage.h.

◆ TryAddIndexedPtr()

template<typename T , typename PtrType >
bool TPtrTableBase< T, PtrType >::TryAddIndexedPtr ( const FTypeLayoutDesc & TypeDesc,
void * Ptr,
int32 & OutIndex )
inline

Definition at line 953 of file MemoryImage.h.

◆ TryGetIndexedPtr()

template<typename T , typename PtrType >
bool TPtrTableBase< T, PtrType >::TryGetIndexedPtr ( const FTypeLayoutDesc & TypeDesc,
uint32 i,
void *& OutPtr ) const
inline

Definition at line 986 of file MemoryImage.h.

Member Data Documentation

◆ Pointers

template<typename T , typename PtrType >
TArray<PtrType> TPtrTableBase< T, PtrType >::Pointers
private

Definition at line 1015 of file MemoryImage.h.


The documentation for this class was generated from the following file: