engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 静态 Public 属性 | 所有成员列表
FCoreUObjectDelegates结构体 参考

Global CoreUObject delegates 更多...

#include <UObjectGlobals.h>

Public 成员函数

 DECLARE_DELEGATE_OneParam (FNetworkFileRequestPackageReload, const TArray< FString > &)
 Called when a package reload request is received from a network file server
 
 DECLARE_DELEGATE_RetVal_OneParam (bool, FOnLoadObjectsOnTop, const FString &)
 Queries whether an object should be loaded on top ( replace ) an already existing one
 
 DECLARE_DELEGATE_RetVal_OneParam (FPrimaryAssetId, FGetPrimaryAssetIdForObject, const UObject *)
 Called when trying to figure out if a UObject is a primary asset, if it doesn't implement GetPrimaryAssetId itself
 
 DECLARE_DELEGATE_RetVal_ThreeParams (bool, FIsPackageOKToSaveDelegate, UPackage *, const FString &, FOutputDevice *)
 Delegate used by SavePackage() to check whether a package should be saved
 
 DECLARE_DELEGATE_RetVal_TwoParams (bool, FShouldCookPackageForPlatform, const UPackage *, const ITargetPlatform *)
 Called during cooking to see if a specific package should be cooked for a given target platform
 
 DECLARE_MULTICAST_DELEGATE (FReinstanceHotReloadedClassesDelegate)
 Delegate for reinstancing hot-reloaded classes
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FPackageCreatedForLoad, class UPackage *)
 Called when path to world root is changed
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FPostLoadMapDelegate, UWorld *)
 Sent at the successful end of LoadMap
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FPreLoadMapDelegate, const FString &)
 Sent at the very beginning of LoadMap
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FRegisterHotReloadAddedClassesDelegate, const TArray< UClass * > &)
 Delegate for registering hot-reloaded classes that have been added

 
 DECLARE_MULTICAST_DELEGATE_ThreeParams (FRegisterClassForHotReloadReinstancingDelegate, UClass *, UClass *, EHotReloadedClassFlags)
 Delegate for registering hot-reloaded classes that changed after hot-reload for reinstancing
 
 DECLARE_MULTICAST_DELEGATE_ThreeParams (FTraceExternalRootsForReachabilityAnalysisDelegate, FGarbageCollectionTracer &, EObjectFlags, bool)
 Delegate type for reachability analysis external roots callback. 更多...
 
 DECLARE_MULTICAST_DELEGATE_TwoParams (FOnPackageReloaded, EPackageReloadPhase, FPackageReloadedEvent *)
 Called by ReloadPackage during package reloading. 更多...
 

静态 Public 成员函数

static FSimpleMulticastDelegate & GetPostGarbageCollect ()
 Called after garbage collection
 
static FSimpleMulticastDelegate & GetPreGarbageCollectDelegate ()
 Called before garbage collection
 

静态 Public 属性

static FSimpleMulticastDelegate PostDemoPlay
 Sent when a network replay has started
 
static FSimpleMulticastDelegate PostGarbageCollectConditionalBeginDestroy
 Called after ConditionalBeginDestroy phase of garbage collection
 
static FSimpleMulticastDelegate PostReachabilityAnalysis
 Called after reachability analysis, before any purging
 
static FSimpleMulticastDelegate PreGarbageCollectConditionalBeginDestroy
 Called before ConditionalBeginDestroy phase of garbage collection
 
static FTraceExternalRootsForReachabilityAnalysisDelegate TraceExternalRootsForReachabilityAnalysis
 Called as last phase of reachability analysis. 更多...
 

详细描述

Global CoreUObject delegates

成员函数说明

◆ DECLARE_MULTICAST_DELEGATE_ThreeParams()

FCoreUObjectDelegates::DECLARE_MULTICAST_DELEGATE_ThreeParams ( FTraceExternalRootsForReachabilityAnalysisDelegate  ,
FGarbageCollectionTracer &  ,
EObjectFlags  ,
bool   
)

Delegate type for reachability analysis external roots callback.

First parameter is FGarbageCollectionTracer to use for tracing, second is flags with which objects should be kept alive regardless, third is whether to force single threading

◆ DECLARE_MULTICAST_DELEGATE_TwoParams()

FCoreUObjectDelegates::DECLARE_MULTICAST_DELEGATE_TwoParams ( FOnPackageReloaded  ,
EPackageReloadPhase  ,
FPackageReloadedEvent *   
)

Called by ReloadPackage during package reloading.

It will be called several times for different phases of fix-up to allow custom code to handle updating objects as needed

类成员变量说明

◆ TraceExternalRootsForReachabilityAnalysis

FTraceExternalRootsForReachabilityAnalysisDelegate FCoreUObjectDelegates::TraceExternalRootsForReachabilityAnalysis
static

Called as last phase of reachability analysis.

Allow external systems to add UObject roots after first reachability pass has been done


该结构体的文档由以下文件生成: