Choose your operating system:
Windows
macOS
Linux
| TSharedFromThis | ||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetReinstanceUtilities.h |
Include |
#include "Kismet2/KismetReinstanceUtilities.h" |
class FBlueprintCompileReinstancer :
public TSharedFromThis< FBlueprintCompileReinstancer >,
public FGCObject
Name | Description | ||
---|---|---|---|
|
bAllowResaveAtTheEndIfRequested |
TRUE if this reinstancer should resave compiled Blueprints if the user has requested it |
|
|
bHasReinstanced |
Whether or not this resinstancer has already reinstanced |
|
|
bIsRootReinstancer |
TRUE if this is the root reinstancer that all other active reinstancing is spawned from |
|
|
bUseDeltaSerializationToCopyProperties |
TRUE if delta serialization should be forced during FBlueprintCompileReinstancer::CopyPropertiesForUnrelatedObjects |
|
|
Children |
Children of this blueprint, which will need to be recompiled and relinked temporarily to maintain the class layout |
|
|
UClass * |
ClassToReinstance |
Reference to the class we're actively reinstancing |
|
ClassToReinstanceDefaultValuesCRC |
||
|
UClass * |
DuplicatedClass |
Reference to the duplicate of ClassToReinstance, which all previous instances are now instances of |
|
FunctionMap |
||
|
ObjectsThatShouldUseOldStuff |
Objects that should keep reference to old class |
|
|
UObject * |
OriginalCDO |
The original CDO object for the class being actively reinstanced |
|
PropertyMap |
Mappings from old fields before recompilation to their new equivalents |
|
|
ReinstClassType |
Name | Description | |
---|---|---|
|
FBlueprintCompileReinstancer() |
Default constructor, can only be used by derived classes |
|
FBlueprintCompileReinstancer ( |
Sets the reinstancer up to work on every object of the specified class |
Name | Description | |
---|---|---|
|
~FBlueprintCompileReinstancer() |
Name | Description | ||
---|---|---|---|
|
BatchReplaceInstancesOfClass ( |
Batch replaces a mapping of one or more classes to their new class by leveraging ReplaceInstancesOfClass |
|
|
BlueprintWasRecompiled ( |
||
|
CompileChildren() |
||
|
CopyPropertiesForUnrelatedObjects |
Attempts to copy as many properties as possible from the old object to the new. |
|
|
TSharedPtr< ... |
Create ( |
|
|
FinalizeFastReinstancing |
||
|
GenerateFieldMappings ( |
Helper to gather mappings from the old class's fields to the new class's version |
|
|
GetSortedClassHierarchy |
Gathers the full class Hierarchy of the ClassToSearch, sorted top down (0 index being UObject, n being the subclasses) |
|
|
IsClassObjectReplaced() |
||
|
IsReinstancingSkeleton() |
||
|
IsReinstClass ( |
Returns true if the given class is a REINST class (starts with the 'REINST_' prefix) |
|
|
ListDependentBlueprintsToRefresh ( |
||
|
UClass * |
MoveCDOToNewClass |
Function used to safely discard a CDO, so that the class can have its layout changed, callers must move parent CDOs aside before moving child CDOs aside: |
|
MoveDependentSkelToReinst |
Moves CDOs aside to immutable versions of classes(`REINST_) so that the CDO's can safely be GC'd. |
|
|
OptionallyRefreshNodes ( |
||
|
ReconstructOwnerInstances ( |
When re-instancing a component, we have to make sure all instance owners' construction scripts are re-ran (in-case modifying the component alters the construction of the actor). |
|
|
TSharedPtr< ... |
ReinstanceFast() |
|
|
TSharedPtr< ... |
ReinstanceInner ( |
|
|
ReinstanceObjects ( |
Reinstances all objects in the ObjectReinstancingMap |
|
|
ReparentChild ( |
Reparents the specified blueprint or class to be the duplicated class in order to allow properties to be copied from the previous CDO to the new one |
|
|
ReparentChild ( |
Reparents the specified blueprint or class to be the duplicated class in order to allow properties to be copied from the previous CDO to the new one |
|
|
ReplaceInstancesOfClass |
Worker function to replace all instances of OldClass with a new instance of NewClass |
|
|
ReplaceInstancesOfClassEx ( |
Worker function to replace all instances of OldClass with a new instance of NewClass |
|
|
SaveClassFieldMapping ( |
Saves a mapping of field names to their UField equivalents, so we can remap any bytecode that references them later |
|
|
ShouldPreserveRootComponentOfReinstancedActor() |
Determine whether reinstancing actors should preserve the root component of the new actor |
|
|
UpdateBytecodeReferences() |
Updates references to properties and functions of the class that has in the bytecode of dependent blueprints |
|
|
VerifyReplacement() |
Verify that all instances of the duplicated class have been replaced and collected |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name |
Description |
|
---|---|---|
|
EReinstClassType |
Cached value, mostly used to determine if we're explicitly targeting the skeleton class or not |
Name | Description | ||
---|---|---|---|
|
EnlistDependentBlueprintToRecompile ( |
This method performs no function and isn't invoked by the base class. Remove all calls to the base class method. |