![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectArray.h>
Inheritance diagram for FUObjectArray::FUObjectDeleteListener:Public Member Functions | |
| virtual | ~FUObjectDeleteListener () |
| virtual void | NotifyUObjectDeleted (const class UObjectBase *Object, int32 Index)=0 |
| virtual void | OnUObjectArrayShutdown ()=0 |
| virtual SIZE_T | GetAllocatedSize () const |
Base class for UObjectBase delete class listeners
|
inlinevirtual |
Returns the size of heap memory allocated internally by this listener
Reimplemented in FUObjectAnnotationSparseNoSync< TAnnotation >, FUObjectAnnotationSparseNoSync< FObjectMark >, FUObjectAnnotationSparse< TAnnotation, bAutoRemove >, FUObjectAnnotationSparse< FBoolAnnotation, true >, FUObjectAnnotationSparse< FDuplicatedObject, false >, FUObjectAnnotationSparse< FLevelAnnotation, false >, FUObjectAnnotationSparse< FPlayerState, true >, FUObjectAnnotationSparseSearchable< TAnnotation, bAutoRemove >, FUObjectAnnotationChunked< TAnnotation, bAutoRemove, NumAnnotationsPerChunk >, FUObjectAnnotationDense< TAnnotation, bAutoRemove >, FUObjectAnnotationDense< FObjectMemoryUsage, true >, FUObjectAnnotationDenseBool, and FMotionVectorSimulation.
|
pure virtual |
Provides notification that a UObjectBase has been removed from the uobject array
| Object | object that has been destroyed |
| Index | index of object that is being deleted |
Called when UObject Array is being shut down, this is where all listeners should be removed from it
Implemented in FUObjectAnnotationSparseNoSync< TAnnotation >, FUObjectAnnotationSparseNoSync< FObjectMark >, FUObjectAnnotationSparse< TAnnotation, bAutoRemove >, FUObjectAnnotationSparse< FBoolAnnotation, true >, FUObjectAnnotationSparse< FDuplicatedObject, false >, FUObjectAnnotationSparse< FLevelAnnotation, false >, FUObjectAnnotationSparse< FPlayerState, true >, FUObjectAnnotationSparseSearchable< TAnnotation, bAutoRemove >, FUObjectAnnotationChunked< TAnnotation, bAutoRemove, NumAnnotationsPerChunk >, FUObjectAnnotationDense< TAnnotation, bAutoRemove >, FUObjectAnnotationDense< FObjectMemoryUsage, true >, and FUObjectAnnotationDenseBool.