Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMemoryImageSection Class Reference

#include <MemoryImage.h>

+ Inheritance diagram for FMemoryImageSection:
+ Collaboration diagram for FMemoryImageSection:

Classes

struct  FSectionPointer
 

Public Member Functions

 FMemoryImageSection (FMemoryImage *InImage)
 
uint32 GetOffset () const
 
uint32 WriteAlignment (uint32 Alignment)
 
void WritePaddingToSize (uint32 Offset)
 
uint32 WriteBytes (const void *Data, uint32 Size)
 
uint32 WriteZeroBytes (int32 Num)
 
template<typename T >
uint32 WriteBytes (const T &Data)
 
FMemoryImageSectionWritePointer (const FTypeLayoutDesc &StaticTypeDesc, const FTypeLayoutDesc &DerivedTypeDesc, uint32 *OutOffsetToBase=nullptr)
 
uint32 WriteRawPointerSizedBytes (uint64 PointerValue)
 
uint32 WriteVTable (const FTypeLayoutDesc &TypeDesc, const FTypeLayoutDesc &DerivedTypeDesc)
 
uint32 WriteFMemoryImageName (int32 NumBytes, const FName &Name)
 
uint32 WriteFScriptName (const FScriptName &Name)
 
uint32 Flatten (FMemoryImageResult &OutResult) const
 
void ComputeHash ()
 
- Public Member Functions inherited from FRefCountedObject
 FRefCountedObject ()
 
virtual ~FRefCountedObject ()
 
 FRefCountedObject (const FRefCountedObject &Rhs)=delete
 
FRefCountedObjectoperator= (const FRefCountedObject &Rhs)=delete
 
uint32 AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Public Attributes

FMemoryImageParentImage
 
TArray< uint8Bytes
 
TArray< FSectionPointerPointers
 
TArray< FMemoryImageVTablePointerVTables
 
TArray< FMemoryImageNamePointerScriptNames
 
TArray< FMemoryImageNamePointerMemoryImageNames
 
FSHAHash Hash
 
uint32 MaxAlignment
 

Detailed Description

Definition at line 213 of file MemoryImage.h.

Constructor & Destructor Documentation

◆ FMemoryImageSection()

FMemoryImageSection::FMemoryImageSection ( FMemoryImage * InImage)
inline

Definition at line 223 of file MemoryImage.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ ComputeHash()

void FMemoryImageSection::ComputeHash ( )

◆ Flatten()

uint32 FMemoryImageSection::Flatten ( FMemoryImageResult & OutResult) const

◆ GetOffset()

uint32 FMemoryImageSection::GetOffset ( ) const
inline

Definition at line 228 of file MemoryImage.h.

+ Here is the caller graph for this function:

◆ WriteAlignment()

uint32 FMemoryImageSection::WriteAlignment ( uint32 Alignment)
inline

Definition at line 230 of file MemoryImage.h.

◆ WriteBytes() [1/2]

template<typename T >
uint32 FMemoryImageSection::WriteBytes ( const T & Data)
inline

Definition at line 261 of file MemoryImage.h.

◆ WriteBytes() [2/2]

uint32 FMemoryImageSection::WriteBytes ( const void * Data,
uint32 Size )
inline

Definition at line 245 of file MemoryImage.h.

+ Here is the call graph for this function:

◆ WriteFMemoryImageName()

uint32 FMemoryImageSection::WriteFMemoryImageName ( int32 NumBytes,
const FName & Name )

◆ WriteFScriptName()

uint32 FMemoryImageSection::WriteFScriptName ( const FScriptName & Name)

◆ WritePaddingToSize()

void FMemoryImageSection::WritePaddingToSize ( uint32 Offset)
inline

Definition at line 239 of file MemoryImage.h.

◆ WritePointer()

FMemoryImageSection * FMemoryImageSection::WritePointer ( const FTypeLayoutDesc & StaticTypeDesc,
const FTypeLayoutDesc & DerivedTypeDesc,
uint32 * OutOffsetToBase = nullptr )

◆ WriteRawPointerSizedBytes()

uint32 FMemoryImageSection::WriteRawPointerSizedBytes ( uint64 PointerValue)

◆ WriteVTable()

uint32 FMemoryImageSection::WriteVTable ( const FTypeLayoutDesc & TypeDesc,
const FTypeLayoutDesc & DerivedTypeDesc )

◆ WriteZeroBytes()

uint32 FMemoryImageSection::WriteZeroBytes ( int32 Num)
inline

Definition at line 253 of file MemoryImage.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ Bytes

TArray<uint8> FMemoryImageSection::Bytes

Definition at line 273 of file MemoryImage.h.

◆ Hash

FSHAHash FMemoryImageSection::Hash

Definition at line 278 of file MemoryImage.h.

◆ MaxAlignment

uint32 FMemoryImageSection::MaxAlignment

Definition at line 279 of file MemoryImage.h.

◆ MemoryImageNames

TArray<FMemoryImageNamePointer> FMemoryImageSection::MemoryImageNames

Definition at line 277 of file MemoryImage.h.

◆ ParentImage

FMemoryImage* FMemoryImageSection::ParentImage

Definition at line 272 of file MemoryImage.h.

◆ Pointers

TArray<FSectionPointer> FMemoryImageSection::Pointers

Definition at line 274 of file MemoryImage.h.

◆ ScriptNames

TArray<FMemoryImageNamePointer> FMemoryImageSection::ScriptNames

Definition at line 276 of file MemoryImage.h.

◆ VTables

TArray<FMemoryImageVTablePointer> FMemoryImageSection::VTables

Definition at line 275 of file MemoryImage.h.


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